fix: 脑图保存校验
This commit is contained in:
parent
4ecdeca7b8
commit
bcf10245a3
|
@ -123,7 +123,7 @@ name: "TestCaseMinder",
|
||||||
if (deleteChild && deleteChild.length > 0) {
|
if (deleteChild && deleteChild.length > 0) {
|
||||||
deleteCases.push(...deleteChild);
|
deleteCases.push(...deleteChild);
|
||||||
}
|
}
|
||||||
if (data.type !== 'node') {
|
if (data.type !== 'node' && data.type !== 'tmp') {
|
||||||
let tip = '用例(' + data.text + ')未添加用例标签!';
|
let tip = '用例(' + data.text + ')未添加用例标签!';
|
||||||
this.$error(tip)
|
this.$error(tip)
|
||||||
throw new Error(tip);
|
throw new Error(tip);
|
||||||
|
|
Loading…
Reference in New Issue