优化树表代码生成模板

master
Ricky 4 years ago
parent cbcee86d2c
commit de73cf300b
  1. 2
      ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm

@ -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;

Loading…
Cancel
Save