From ebb3c74dc587a6635050e26259edd57f37f2f48d Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Wed, 29 Oct 2025 16:56:18 +0800 Subject: [PATCH] fix: The starting node of the loop in the loop body should be prohibited from deletion (#4287) --- ui/src/workflow/common/shortcut.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/workflow/common/shortcut.ts b/ui/src/workflow/common/shortcut.ts index 874a825c9..140d6d780 100644 --- a/ui/src/workflow/common/shortcut.ts +++ b/ui/src/workflow/common/shortcut.ts @@ -98,7 +98,7 @@ export function initDefaultShortcut(lf: LogicFlow, graph: GraphModel) { return } const nodes = elements.nodes.filter((node) => - ['start-node', 'base-node', 'loop-body-node'].includes(node.type), + ['start-node', 'base-node', 'loop-body-node', 'loop-start-node'].includes(node.type), ) if (nodes.length > 0) { MsgError(