fix: 脑图保存校验

This commit is contained in:
chenjianxing 2021-06-16 16:31:58 +08:00 committed by jianxing
parent 4ecdeca7b8
commit bcf10245a3
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ name: "TestCaseMinder",
if (deleteChild && deleteChild.length > 0) {
deleteCases.push(...deleteChild);
}
if (data.type !== 'node') {
if (data.type !== 'node' && data.type !== 'tmp') {
let tip = '用例(' + data.text + ')未添加用例标签!';
this.$error(tip)
throw new Error(tip);