From 061833567094597415ccbbebedbb8a2f8447433e Mon Sep 17 00:00:00 2001 From: ZLY Date: Tue, 21 Oct 2025 14:02:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(hooks):=E4=BF=AE=E5=A4=8D=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E7=9B=91=E5=90=AC=E5=92=8C=E5=8F=91=E9=80=81=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useFlowCallbacks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useFlowCallbacks.ts b/src/hooks/useFlowCallbacks.ts index 4aa5a5f..6075916 100644 --- a/src/hooks/useFlowCallbacks.ts +++ b/src/hooks/useFlowCallbacks.ts @@ -862,7 +862,7 @@ export const useFlowCallbacks = ( }); // 调用更新事件的API - if (initialData?.appId) { + if (initialData?.appId && params.eventListenes.lengrh > 0 && params.eventSends.length > 0) { updateAppEvent(initialData.appId, params); } };