From 3e761c9ff45da3f48fc1c77d4b32a3e86fe950d5 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期四, 17 七月 2025 16:45:35 +0800
Subject: [PATCH] 修改了字
---
ruoyi-generator/src/main/java/com/ruoyi/generator/util/VelocityUtils.java | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/ruoyi-generator/src/main/java/com/ruoyi/generator/util/VelocityUtils.java b/ruoyi-generator/src/main/java/com/ruoyi/generator/util/VelocityUtils.java
index 7ede02d..61a1a80 100644
--- a/ruoyi-generator/src/main/java/com/ruoyi/generator/util/VelocityUtils.java
+++ b/ruoyi-generator/src/main/java/com/ruoyi/generator/util/VelocityUtils.java
@@ -15,7 +15,7 @@
/**
* 妯℃澘澶勭悊宸ュ叿绫�
- *
+ *
* @author ruoyi
*/
public class VelocityUtils
@@ -139,7 +139,7 @@
templates.add("vm/js/api.js.vm");
if (GenConstants.TPL_CRUD.equals(tplCategory))
{
- templates.add("vm/vue/index.vue.vm");
+ templates.add("vm/vue/shouye.vue.vm");
}
else if (GenConstants.TPL_TREE.equals(tplCategory))
{
@@ -147,7 +147,7 @@
}
else if (GenConstants.TPL_SUB.equals(tplCategory))
{
- templates.add("vm/vue/index.vue.vm");
+ templates.add("vm/vue/shouye.vue.vm");
templates.add("vm/java/sub-domain.java.vm");
}
return templates;
@@ -209,13 +209,13 @@
{
fileName = StringUtils.format("{}/api/{}/{}.js", vuePath, moduleName, businessName);
}
- else if (template.contains("index.vue.vm"))
+ else if (template.contains("shouye.vue.vm"))
{
- fileName = StringUtils.format("{}/views/{}/{}/index.vue", vuePath, moduleName, businessName);
+ fileName = StringUtils.format("{}/views/{}/{}/shouye.vue", vuePath, moduleName, businessName);
}
else if (template.contains("index-tree.vue.vm"))
{
- fileName = StringUtils.format("{}/views/{}/{}/index.vue", vuePath, moduleName, businessName);
+ fileName = StringUtils.format("{}/views/{}/{}/shouye.vue", vuePath, moduleName, businessName);
}
return fileName;
}
@@ -234,7 +234,7 @@
/**
* 鏍规嵁鍒楃被鍨嬭幏鍙栧鍏ュ寘
- *
+ *
* @param genTable 涓氬姟琛ㄥ璞�
* @return 杩斿洖闇�瑕佸鍏ョ殑鍖呭垪琛�
*/
@@ -264,7 +264,7 @@
/**
* 鏍规嵁鍒楃被鍨嬭幏鍙栧瓧鍏哥粍
- *
+ *
* @param genTable 涓氬姟琛ㄥ璞�
* @return 杩斿洖瀛楀吀缁�
*/
@@ -283,7 +283,7 @@
/**
* 娣诲姞瀛楀吀鍒楄〃
- *
+ *
* @param dicts 瀛楀吀鍒楄〃
* @param columns 鍒楅泦鍚�
*/
--
Gitblit v1.9.1