diff --git a/pyproject.toml b/pyproject.toml index 156ee02..b6cda27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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] diff --git a/web/queue_utils.js b/web/queue_utils.js index 5ced9cd..02895d1 100644 --- a/web/queue_utils.js +++ b/web/queue_utils.js @@ -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 || [])) {