From 5500e35c4d36183585ddd6f85414b0275abcfe2d Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 29 Oct 2025 16:31:44 +0800 Subject: [PATCH] fix: The starting node of the loop in the loop body should be prohibited from deletion --- 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 874a825c97e..140d6d780a2 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(