From 5680d91a87c676cb6eb9cb8f4a3285a93ae2e6fc Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sun, 7 Jun 2020 16:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E5=AD=97?= =?UTF-8?q?=E5=85=B8Integer/Long=E4=BD=BF=E7=94=A8parseInt?= 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 | 4 ++-- ruoyi/src/main/resources/vm/vue/index.vue.vm | 4 ++-- 2 files changed, 4 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 ffea736..fb10ed6 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,7 @@ v-for="dict in ${field}Options" :key="dict.dictValue" :label="dict.dictLabel" - #if($column.javaType == "Integer"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end + #if($column.javaType == "Integer" || $column.javaType == "Long"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end > @@ -163,7 +163,7 @@ {{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 db471f4..0b64a0c 100644 --- a/ruoyi/src/main/resources/vm/vue/index.vue.vm +++ b/ruoyi/src/main/resources/vm/vue/index.vue.vm @@ -174,7 +174,7 @@ v-for="dict in ${field}Options" :key="dict.dictValue" :label="dict.dictLabel" - #if($column.javaType == "Integer"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end + #if($column.javaType == "Integer" || $column.javaType == "Long"):value="parseInt(dict.dictValue)"#else:value="dict.dictValue"#end > @@ -191,7 +191,7 @@ {{dict.dictLabel}}