mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: The starting node of the loop in the loop body should be prohibited from deletion (#4287)
This commit is contained in:
parent
2298bf6992
commit
ebb3c74dc5
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue