This commit is contained in:
Jason 2022-08-16 17:17:17 +08:00
commit 958ec34e53
1 changed files with 4 additions and 4 deletions

View File

@ -173,19 +173,19 @@ public class VelocityUtil {
} }
else if (template.contains("vue/api.ts.vm")) { else if (template.contains("vue/api.ts.vm")) {
fileName = StringUtil.format("vue/api.ts"); fileName = StringUtil.format("vue/api/{}.ts", moduleName);
} }
else if (template.contains("vue/edit.vue.vm")) { else if (template.contains("vue/edit.vue.vm")) {
fileName = StringUtil.format("vue/edit.vue"); fileName = StringUtil.format("vue/views/{}/edit.vue", moduleName);
} }
else if (template.contains("vue/index.vue.vm")) { else if (template.contains("vue/index.vue.vm")) {
fileName = StringUtil.format("vue/index.vue"); fileName = StringUtil.format("vue/views/{}/index.vue", moduleName);
} }
else if (template.contains("vue/index-tree.vue.vm")) { else if (template.contains("vue/index-tree.vue.vm")) {
fileName = StringUtil.format("vue/index.vue"); fileName = StringUtil.format("vue/views/{}/index.vue", moduleName);
} }
return fileName; return fileName;