fix: 脑图复制模块节点报错报错
This commit is contained in:
parent
14fcb5383a
commit
1028f768ef
|
@ -128,6 +128,11 @@ name: "TestCaseMinder",
|
|||
this.$error(tip)
|
||||
throw new Error(tip);
|
||||
}
|
||||
if (data.id === null) {
|
||||
let tip = '脑图编辑无法创建模块:' + data.text + '';
|
||||
this.$error(tip)
|
||||
throw new Error(tip);
|
||||
}
|
||||
if (root.children) {
|
||||
root.children.forEach((childNode) => {
|
||||
this.buildSaveCase(childNode, saveCases, deleteCases, root.data);
|
||||
|
|
Loading…
Reference in New Issue