浏览代码

修复代码生成如果选择字典类型缺失逗号问题

RuoYi 5 年之前
父节点
当前提交
5ded2569d0
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. 1 2
      ruoyi/src/main/resources/vm/vue/index-tree.vue.vm
  2. 1 2
      ruoyi/src/main/resources/vm/vue/index.vue.vm

+ 1 - 2
ruoyi/src/main/resources/vm/vue/index-tree.vue.vm

@@ -227,8 +227,7 @@ export default {
 #end
 #if(${column.dictType} != '')
       // $comment字典
-      ${column.javaField}Options: []#if($velocityCount != $columns.size()),#end
-
+      ${column.javaField}Options: [],
 #end
 #end
       // 查询参数

+ 1 - 2
ruoyi/src/main/resources/vm/vue/index.vue.vm

@@ -258,8 +258,7 @@ export default {
 #end
 #if(${column.dictType} != '')
       // $comment字典
-      ${column.javaField}Options: []#if($velocityCount != $columns.size()),#end
-
+      ${column.javaField}Options: [],
 #end
 #end
       // 查询参数