fix: 临时节点下创建用例报错

This commit is contained in:
chenjianxing 2021-10-28 15:34:38 +08:00 committed by jianxing
parent db92b50838
commit 6dbfaaba97
1 changed files with 6 additions and 0 deletions

View File

@ -215,6 +215,12 @@ name: "TestCaseMinder",
return;
}
if (parent.isExtraNode) {
let tip = '无法在临时节点"' + parent.text + '"下创建用例';
this.$error(tip)
throw new Error(tip);
}
if (data.isExtraNode) {
//
let deleteData = {};