From c8685ad7f5b9d34a21a7c9201140f71f3d78fe57 Mon Sep 17 00:00:00 2001 From: ZLY Date: Wed, 14 Jan 2026 16:12:54 +0800 Subject: [PATCH] =?UTF-8?q?pref(nodeEditor):=20=E5=BA=94=E7=94=A8=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E5=AE=9E=E4=BE=8B=E5=A2=9E=E5=8A=A0=E6=9C=AA=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E7=8A=B6=E6=80=81=E4=B8=8B=E7=A6=81=E7=94=A8=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FlowEditor/nodeEditors/BasicNodeEditor.tsx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/FlowEditor/nodeEditors/BasicNodeEditor.tsx b/src/components/FlowEditor/nodeEditors/BasicNodeEditor.tsx index 901aa44..e80821b 100644 --- a/src/components/FlowEditor/nodeEditors/BasicNodeEditor.tsx +++ b/src/components/FlowEditor/nodeEditors/BasicNodeEditor.tsx @@ -6,6 +6,8 @@ import { IconUnorderedList } from '@arco-design/web-react/icon'; import ParamsTable from '@/components/FlowEditor/nodeEditors/components/ParamsTable'; import { queryInstance } from '@/api/components'; +const Option = Select.Option; + const BasicNodeEditor: React.FC = ({ node, nodeData, @@ -84,9 +86,12 @@ const BasicNodeEditor: React.FC = ({ const newOptions = res.data.map((item: any) => { return { label: item.identifier, - value: item.identifier + value: item.identifier, + runStatus: item.runStatus, + runType: item.runType }; }); + console.log('newOptions:', newOptions); setOptions(newOptions); } }; @@ -125,7 +130,7 @@ const BasicNodeEditor: React.FC = ({ 组件描述:
{currentCompInfo?.description}
- + 输入参数