From de73cf300b177144b3250f97125a4411de542f87 Mon Sep 17 00:00:00 2001 From: Ricky Date: Thu, 15 Apr 2021 10:39:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A0=91=E8=A1=A8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=94=9F=E6=88=90=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm b/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm index fca5538a3..6d67c2e0d 100644 --- a/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm +++ b/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;