Commit cbd8890c by zhangdaiscott

代码生成器,树列表新增,会默认加上上次选的父节点问题

parent b25fb55d
......@@ -155,6 +155,7 @@
},
methods: {
add (obj) {
this.modelDefault.${pidFieldName}=''
this.edit(Object.assign(this.modelDefault , obj));
},
edit (record) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment