fix: 脑图下新增额外节点报错
--bug=1010308 --user=陈建星 【测试跟踪】github#10475 ,脑图下新增子项,不打标签,点击保存报错 https://www.tapd.cn/55049933/s/1105342
This commit is contained in:
parent
228b2c22fd
commit
49bbea3089
|
@ -307,7 +307,7 @@ name: "TestCaseMinder",
|
|||
this.saveModules.push(module);
|
||||
},
|
||||
buildExtraNode(data, parent, root) {
|
||||
if (data.type !== 'node' && data.type !== 'tmp' && parent && isModuleNodeData(parent.data) && data.changed === true) {
|
||||
if (data.type !== 'node' && data.type !== 'tmp' && parent && isModuleNodeData(parent) && data.changed === true) {
|
||||
// 保存额外信息,只保存模块下的一级子节点
|
||||
let nodes = this.saveExtraNode[parent.id];
|
||||
if (!nodes) {
|
||||
|
|
Loading…
Reference in New Issue