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/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