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/candidate-node.tsx | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/app/components/workflow/candidate-node.tsx b/app/components/workflow/candidate-node.tsx
index eb59a46..16d6f85 100644
--- a/app/components/workflow/candidate-node.tsx
+++ b/app/components/workflow/candidate-node.tsx
@@ -14,7 +14,7 @@
} from './store'
import { WorkflowHistoryEvent, useNodesInteractions, useWorkflowHistory } from './hooks'
import { CUSTOM_NODE } from './constants'
-import { getIterationStartNode, getLoopStartNode } from './utils'
+import { getIterationStartNode } from './utils'
import CustomNode from './nodes'
import CustomNoteNode from './note-node'
import { CUSTOM_NOTE_NODE } from './note-node/constants'
@@ -56,9 +56,6 @@
})
if (candidateNode.data.type === BlockEnum.Iteration)
draft.push(getIterationStartNode(candidateNode.id))
-
- if (candidateNode.data.type === BlockEnum.Loop)
- draft.push(getLoopStartNode(candidateNode.id))
})
setNodes(newNodes)
if (candidateNode.type === CUSTOM_NOTE_NODE)
--
Gitblit v1.8.0