Fix serialize issue caused by comfy by a workaround of adding dummy items

This commit is contained in:
Will Miao
2025-03-02 17:09:01 +08:00
parent 3b5e6c8bba
commit 988d298008
5 changed files with 35 additions and 24 deletions

View File

@@ -73,15 +73,7 @@ app.registerExtension({
node.lorasWidget.value = mergedLoras;
// node.graph.setDirtyCanvas(true, true);
};
console.log("node: ", node);
});
}
},
async nodeRemoved(node) {
if (node.comfyClass === "Lora Loader (LoraManager)") {
// TODO: Remove widget from node
}
},
});