From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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