From a4184ea1a8b27cb0e7d93739f85be4c4e8a08dcb Mon Sep 17 00:00:00 2001 From: ZLY Date: Mon, 3 Nov 2025 09:23:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(flowEditor):=E4=BF=AE=E5=A4=8D=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E5=86=85=E5=AE=B9=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= =?UTF-8?q?=20-=20=E4=BB=8Edata.customDef=E4=B8=AD=E8=A7=A3=E6=9E=84?= =?UTF-8?q?=E5=87=BAtopic=E5=AD=97=E6=AE=B5=20-=20=E5=BD=93topic=E5=8C=85?= =?UTF-8?q?=E5=90=AB'**empty**'=E6=97=B6=E8=BF=94=E5=9B=9E=E7=A9=BA?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2=20-=20=E4=BC=98=E5=8C=96=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E7=A7=B0=E7=9A=84=E6=98=BE=E7=A4=BA=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/flowEditor/components/nodeContentOther.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/flowEditor/components/nodeContentOther.tsx b/src/pages/flowEditor/components/nodeContentOther.tsx index fd66f09..ce1ba86 100644 --- a/src/pages/flowEditor/components/nodeContentOther.tsx +++ b/src/pages/flowEditor/components/nodeContentOther.tsx @@ -202,7 +202,8 @@ const formatFooter = (data: any, eventListOld = []) => { return `事件: ${currentEvent.name}`; } else { - const { name } = data.customDef; + const { name, topic } = data.customDef; + if (topic.includes('**empty**')) return ''; return `事件: ${name}`; } case 'BASIC':