fix(测试跟踪): 脑图将相邻的临时节点批量修改为用例,保存报错

--bug=1014159 --user=陈建星 【测试跟踪】功能用例脑图模式,模块下批量修改下级主题为用例,有报错 https://www.tapd.cn/55049933/s/1183897
This commit is contained in:
chenjianxing 2022-06-16 14:26:16 +08:00 committed by jianxing
parent 8f8c6e30dd
commit 8ee24dd8ac
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ name: "TestCaseMinder",
} else {
testCase.moveMode = 'APPEND';
}
} else if (this.isCaseNode(nextNode)) {
} else if (this.isCaseNode(nextNode) && !nextNode.data.isExtraNode) {
let nextId = nextNode.data.id;
if (nextId && nextId.length > 15) {
testCase.targetId = nextId;