From 0f3915bff57da242719752aed60ee73521fc50e3 Mon Sep 17 00:00:00 2001 From: ZLY Date: Wed, 29 Oct 2025 11:14:55 +0800 Subject: [PATCH] =?UTF-8?q?style(flowEditor):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=86=85=E5=AE=B9=E5=B8=83=E5=B1=80=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FlowEditor/node/style/baseOther.module.less | 8 ++++++++ src/pages/flowEditor/components/nodeContentApp.tsx | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/FlowEditor/node/style/baseOther.module.less b/src/components/FlowEditor/node/style/baseOther.module.less index 7732144..e3f2ca2 100644 --- a/src/components/FlowEditor/node/style/baseOther.module.less +++ b/src/components/FlowEditor/node/style/baseOther.module.less @@ -50,6 +50,13 @@ border: 1px solid #cccccc; border-radius: 3px; + .node-inputs { + padding-right: 10px; + } + + .node-outputs { + padding-left: 10px; + } .node-inputs, .node-outputs, @@ -58,6 +65,7 @@ flex: 1; } + .node-outputs-api { .node-input-label { font-size: 12px; diff --git a/src/pages/flowEditor/components/nodeContentApp.tsx b/src/pages/flowEditor/components/nodeContentApp.tsx index de5834c..c85d0e2 100644 --- a/src/pages/flowEditor/components/nodeContentApp.tsx +++ b/src/pages/flowEditor/components/nodeContentApp.tsx @@ -303,6 +303,7 @@ const NodeContent = ({ data }: { data: NodeContentData }) => { <> {/*content栏-api部分*/}
+
{apiIns.length > 0 && (
@@ -325,7 +326,7 @@ const NodeContent = ({ data }: { data: NodeContentData }) => { )} {apiOuts.length > 0 && ( -
+
{apiOuts.map((output, index) => { // 查找关联的事件分组 const group = findApiGroupByTopic(output, eventGroups);