Commit de73cf30 authored by Ricky's avatar Ricky

优化树表代码生成模板

parent cbcee86d
......@@ -470,7 +470,7 @@ export default {
handleAdd(row) {
this.reset();
this.getTreeselect();
if (row != null && row.dkAreaCode) {
if (row != null && row.${treeCode}) {
this.form.${treeParentCode} = row.${treeCode};
} else {
this.form.${treeParentCode} = 0;
......
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