From 552a7ac35229a99207cd6ac669ea0db5a1639670 Mon Sep 17 00:00:00 2001 From: LAOGOU-666 <441059767@qq.com> Date: Wed, 29 Oct 2025 23:17:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=A0=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E6=88=96=E8=80=85=E7=A6=81=E7=94=A8=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?bug---=20Cannot=20read=20properties=20of=20undefined=20(reading?= =?UTF-8?q?=20'inputs')?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- web/queue_utils.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 || [])) {