From 85d4c581788edefb10a1b3ec5e45451eaaaae6aa Mon Sep 17 00:00:00 2001 From: ZLY Date: Mon, 3 Nov 2025 09:21:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(flow):=20=E6=B7=BB=E5=8A=A0=E8=BE=B9?= =?UTF-8?q?=E7=BA=BF=E7=B1=BB=E5=9E=8B=E5=92=8C=E6=95=B0=E6=8D=AE=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -为 API 类型边线添加 lineType 和 data 属性- 为数据类型边线添加 lineType 和 data 属性 --- src/utils/convertFlowData.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/utils/convertFlowData.ts b/src/utils/convertFlowData.ts index 25deb98..ad70d94 100644 --- a/src/utils/convertFlowData.ts +++ b/src/utils/convertFlowData.ts @@ -304,7 +304,11 @@ export const convertFlowData = (flowData: any, useDefault = true) => { target: target, sourceHandle: finalSourceHandle, targetHandle: finalTargetHandle, - type: 'custom' + type: 'custom', + lineType: 'api', + data: { + lineType: 'api' + } }); } } @@ -340,7 +344,11 @@ export const convertFlowData = (flowData: any, useDefault = true) => { target: targetNodeId, sourceHandle: sourceHandle, targetHandle: targetHandle, - type: 'custom' + type: 'custom', + lineType: 'data', + data: { + lineType: 'data' + } }); } }