autumnal_wind@yeah.net
2024-05-29 db31a9a78d3cd4007ea4e885412965dfc37f0670
hs-modules/hs-generator/src/main/java/com/sunsail/generator/util/VelocityUtils.java
@@ -134,6 +134,7 @@
        } else if (GenConstants.TPL_TREE.equals(tplCategory)) {
            templates.add("vm/vue/index-tree.vue.vm");
        }
        templates.add("vm/vue/DetailForm.vue.vm");
        return templates;
    }
@@ -185,6 +186,8 @@
            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;
    }