From 5ded2569d04a671c85bb7869966ebb3aa61cf5b0 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 10 四月 2020 11:49:08 +0800
Subject: [PATCH] 修复代码生成如果选择字典类型缺失逗号问题
---
ruoyi/src/main/resources/vm/vue/index.vue.vm | 3 +--
ruoyi/src/main/resources/vm/vue/index-tree.vue.vm | 3 +--
2 files changed, 2 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 280417a..5a0d37d 100644
--- a/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm
+++ b/ruoyi/src/main/resources/vm/vue/index-tree.vue.vm
@@ -227,8 +227,7 @@
#end
#if(${column.dictType} != '')
// $comment瀛楀吀
- ${column.javaField}Options: []#if($velocityCount != $columns.size()),#end
-
+ ${column.javaField}Options: [],
#end
#end
// 鏌ヨ鍙傛暟
diff --git a/ruoyi/src/main/resources/vm/vue/index.vue.vm b/ruoyi/src/main/resources/vm/vue/index.vue.vm
index 3110a16..1ee0d7f 100644
--- a/ruoyi/src/main/resources/vm/vue/index.vue.vm
+++ b/ruoyi/src/main/resources/vm/vue/index.vue.vm
@@ -258,8 +258,7 @@
#end
#if(${column.dictType} != '')
// $comment瀛楀吀
- ${column.javaField}Options: []#if($velocityCount != $columns.size()),#end
-
+ ${column.javaField}Options: [],
#end
#end
// 鏌ヨ鍙傛暟
--
Gitblit v1.9.3