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