From ce19feb5b23bc6c277b804cf0a75932217c31133 Mon Sep 17 00:00:00 2001 From: ZLY Date: Fri, 6 Feb 2026 14:33:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(nodeContentOther):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E8=BF=94=E5=9B=9E=E5=BC=82=E5=B8=B8=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=AD=97=E6=AE=B5=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/flowEditor/components/nodeContentOther.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/flowEditor/components/nodeContentOther.tsx b/src/pages/flowEditor/components/nodeContentOther.tsx index c9eeb6c..5ffe32b 100644 --- a/src/pages/flowEditor/components/nodeContentOther.tsx +++ b/src/pages/flowEditor/components/nodeContentOther.tsx @@ -122,7 +122,7 @@ const renderSpecialNodeHandles = (isStartNode: boolean, isEndNode: boolean, data // 获取连接到特定 API 句柄的 edges const getConnectedEdgesForHandle = (edges: any[], nodeId: string, handleId: string, handleType: 'source' | 'target') => { - if (nodeId === 'start' || nodeId === 'end') return false; + if (nodeId === 'start' || nodeId === 'end') return []; return edges.filter(edge => { if (handleType === 'target') { // 检查目标节点ID和目标句柄ID都匹配