修复因跳过或者禁用导致的bug--- Cannot read properties of undefined (reading 'inputs')

This commit is contained in:
LAOGOU-666
2025-10-29 23:17:26 +08:00
parent bcc3bb4cf1
commit 552a7ac352
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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]
+4
View File
@@ -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 || [])) {