添加子节点时名称为空

This commit is contained in:
chenjianxing 2020-05-21 14:52:52 +08:00
parent 647f3eac34
commit e0a0bbffef
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
open(type, data, nodeIds) { open(type, data, nodeIds) {
this.type = type; this.type = type;
this.node = data; this.node = data;
if (this.node) { if (type == 'edit') {
this.form.name = this.node.name; this.form.name = this.node.name;
} }
this.nodeIds = nodeIds; this.nodeIds = nodeIds;