修复因跳过或者禁用导致的bug--- Cannot read properties of undefined (reading 'inputs')
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui_lg_groupexecutor"
|
||||
description = "A ComfyUI extension for controlling and managing node group execution flow. Features include single/multiple group execution, delay control, signal chaining, and execution list repetition processing."
|
||||
version = "1.2.6"
|
||||
version = "1.2.7"
|
||||
dependencies = [""]
|
||||
|
||||
[project.urls]
|
||||
|
||||
@@ -118,6 +118,10 @@ class QueueManager {
|
||||
recursiveAddNodes(nodeId, oldOutput, newOutput) {
|
||||
let currentId = nodeId;
|
||||
let currentNode = oldOutput[currentId];
|
||||
if (!currentNode) {
|
||||
console.warn(`[QueueManager] 节点 ${currentId} 在输出中不存在`);
|
||||
return newOutput;
|
||||
}
|
||||
if (newOutput[currentId] == null) {
|
||||
newOutput[currentId] = currentNode;
|
||||
for (const inputValue of Object.values(currentNode.inputs || [])) {
|
||||
|
||||
Reference in New Issue
Block a user