fix(脑图): 测试计划脑图三级节点禁止添加快捷键
This commit is contained in:
parent
2c8ed01f8d
commit
506a74698c
|
@ -410,7 +410,8 @@
|
|||
function insertNode(node: PlanMinderNode, type: string) {
|
||||
if (
|
||||
(node.data?.level === 2 && type === 'AppendChildNode') ||
|
||||
(node.data?.level === 1 && type === 'AppendSiblingNode')
|
||||
(node.data?.level === 1 && type === 'AppendSiblingNode') ||
|
||||
node.data?.level > 2
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue