添加子节点时名称为空
This commit is contained in:
parent
647f3eac34
commit
e0a0bbffef
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue