소스 검색

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

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
       // 查询参数