From a3b014f6481107424d2ad456795e0a51f70c1fd9 Mon Sep 17 00:00:00 2001 From: zhanghao <774378400@qq.com> Date: Fri, 17 Apr 2026 09:07:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8D=95=E8=8A=82=E7=82=B9=E5=90=AF?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/flow/config.js | 2 +- src/views/flow/index.vue | 2 ++ src/views/flow/nodes/function/sdAgent.vue | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/flow/config.js b/src/views/flow/config.js index e124e2b..b719201 100644 --- a/src/views/flow/config.js +++ b/src/views/flow/config.js @@ -292,6 +292,7 @@ export const collapseList = [ type: "http", desc: "HTTP请求", action: 'HTTP', + nodeType: 'HTTP', nodeParams: [ { name: "config", type: "input", input: "", children: [ { name: "url", type: "input", input: "", disabled: true, required: true }, @@ -346,7 +347,6 @@ function handler(params) { type: "currentLoop", desc: "获取当前循环对象", action: 'GET_CURRENT_OBJECT', - nodeType: 'getCurrentObject', nodeParams: [ { name: "array", type: "input", input: "" } ], diff --git a/src/views/flow/index.vue b/src/views/flow/index.vue index afc8345..995d904 100644 --- a/src/views/flow/index.vue +++ b/src/views/flow/index.vue @@ -669,6 +669,8 @@ const group = () => { } }); if (children.length === 0) { + lf.clearSelectElements(); + lf.extension.selectionSelect.closeSelectionSelect(); return; } let width = maxX - minX + PADDING; diff --git a/src/views/flow/nodes/function/sdAgent.vue b/src/views/flow/nodes/function/sdAgent.vue index 3a031ce..167dc88 100644 --- a/src/views/flow/nodes/function/sdAgent.vue +++ b/src/views/flow/nodes/function/sdAgent.vue @@ -24,6 +24,7 @@ :nodeId="props.model.id" :nodeProperties="props.properties" :nodeName="props.properties.name" + :nodeType="props.properties.nodeType || 'NONE'" :nodeDesc="props.properties.desc" :zoom-state="nodeZoom" @zoom="zoom"