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}}