Add lora stacker support and fix TriggerWord Toggle node

This commit is contained in:
Will Miao
2025-03-11 20:46:40 +08:00
parent ad56cafd62
commit 79ebe25bc2
8 changed files with 21 additions and 26 deletions

View File

@@ -750,7 +750,6 @@ export function addLorasWidget(node, name, opts, callback) {
widget.callback = callback;
widget.serializeValue = () => {
console.log("Serializing loras data: ", widgetValue);
// Add dummy items to avoid the 2-element serialization issue, a bug in comfyui
return [...widgetValue,
{ name: "__dummy_item1__", strength: 0, active: false, _isDummy: true },