From eec5c58b4a8d118270bfedb87cf38ebcab6fcc39 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Wed, 29 Apr 2020 16:06:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=AD=97=E5=85=B8=E5=AD=97=E6=AE=B5int=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=B2=A1=E6=9C=89=E8=87=AA=E5=8A=A8=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi/src/main/resources/vm/vue/index-tree.vue.vm | 6 ++++-- ruoyi/src/main/resources/vm/vue/index.vue.vm | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm b/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm index 6c33b9f6a..1a74fca67 100644 --- a/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm +++ b/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm @@ -146,7 +146,8 @@ v-for="dict in ${field}Options" :key="dict.dictValue" :label="dict.dictLabel" - :value="dict.dictValue" + #if($column.javaType == "Integer"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end + > @@ -162,7 +163,8 @@ {{dict.dictLabel}} diff --git a/ruoyi/src/main/resources/vm/vue/index.vue.vm b/ruoyi/src/main/resources/vm/vue/index.vue.vm index 12022ca58..7c19a3aab 100644 --- a/ruoyi/src/main/resources/vm/vue/index.vue.vm +++ b/ruoyi/src/main/resources/vm/vue/index.vue.vm @@ -174,7 +174,8 @@ v-for="dict in ${field}Options" :key="dict.dictValue" :label="dict.dictLabel" - :value="dict.dictValue" + #if($column.javaType == "Integer"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end + > @@ -190,7 +191,8 @@ {{dict.dictLabel}}