From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

---
 app/components/workflow/nodes/if-else/use-config.ts |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/app/components/workflow/nodes/if-else/use-config.ts b/app/components/workflow/nodes/if-else/use-config.ts
index 276d017..41e41f6 100644
--- a/app/components/workflow/nodes/if-else/use-config.ts
+++ b/app/components/workflow/nodes/if-else/use-config.ts
@@ -57,7 +57,6 @@
   } = useIsVarFileAttribute({
     nodeId: id,
     isInIteration: payload.isInIteration,
-    isInLoop: payload.isInLoop,
   })
 
   const varsIsVarFileAttribute = useMemo(() => {
@@ -133,7 +132,7 @@
     })
     setInputs(newInputs)
     updateNodeInternals(id)
-  }, [id, inputs, setInputs, updateNodeInternals])
+  }, [inputs, setInputs])
 
   const handleAddCondition = useCallback<HandleAddCondition>((caseId, valueSelector, varItem) => {
     const newInputs = produce(inputs, (draft) => {

--
Gitblit v1.8.0