diff --git a/src/views/flow/index.vue b/src/views/flow/index.vue index f6d36c9..fdb5466 100644 --- a/src/views/flow/index.vue +++ b/src/views/flow/index.vue @@ -211,7 +211,7 @@ const dragover = (e) => { const drop = (e) => { let node = e.dataTransfer.getData("flowNode"); node = JSON.parse(node); - if (["stopLoop", "subEnd", "subStart", "current"].includes(node.type)) { + if (["stopLoop", "subEnd", "subStart", "currentLoop"].includes(node.type)) { ElMessage.warning("此节点只能拖拽到循环节点的循环体中"); return; }