Procházet zdrojové kódy

代码生成器功能调整

bing před 1 rokem
rodič
revize
c7b2b9deff

+ 2 - 0
ruoyi-modules/ruoyi-gen/src/main/java/org/dromara/gen/util/VelocityUtils.java

@@ -184,6 +184,8 @@ public class VelocityUtils {
             fileName = StringUtils.format("{}/views/{}/{}/index.vue", vuePath, moduleName, businessName);
         } else if (template.contains("index-tree.vue.vm")) {
             fileName = StringUtils.format("{}/views/{}/{}/index.vue", vuePath, moduleName, businessName);
+        }else if(template.contains("DetailForm.vue.vm")){
+            fileName = StringUtils.format("{}/views/{}/{}/DetailForm.vue", vuePath, moduleName, businessName);
         }
         return fileName;
     }