|
|
@@ -96,7 +96,7 @@ public class CodegenEngine {
|
|
|
.build();
|
|
|
|
|
|
/**
|
|
|
- * 后端的配置模版
|
|
|
+ * 前端的配置模版
|
|
|
*
|
|
|
* key1:UI 模版的类型 {@link CodegenFrontTypeEnum#getType()}
|
|
|
* key2:模板在 resources 的地址
|
|
|
@@ -141,8 +141,8 @@ public class CodegenEngine {
|
|
|
vue3UniappFilePath("api/${table.moduleName}/${table.businessName}/index.ts"))
|
|
|
.put(CodegenFrontTypeEnum.VUE3_ADMIN_UNIAPP_WOT.getType(), vue3AdminUniappTemplatePath("views/index.vue"),
|
|
|
vue3UniappFilePath("pages-${table.moduleName}/${table.businessName}/index.vue"))
|
|
|
- .put(CodegenFrontTypeEnum.VUE3_ADMIN_UNIAPP_WOT.getType(), vue3AdminUniappTemplatePath("components/search-form.vue"),
|
|
|
- vue3UniappFilePath("pages-${table.moduleName}/${table.businessName}/components/search-form.vue"))
|
|
|
+ .put(CodegenFrontTypeEnum.VUE3_ADMIN_UNIAPP_WOT.getType(), vue3AdminUniappTemplatePath("modules/search-form.vue"),
|
|
|
+ vue3UniappFilePath("pages-${table.moduleName}/${table.businessName}/modules/search-form.vue"))
|
|
|
.put(CodegenFrontTypeEnum.VUE3_ADMIN_UNIAPP_WOT.getType(), vue3AdminUniappTemplatePath("views/form/index.vue"),
|
|
|
vue3UniappFilePath("pages-${table.moduleName}/${table.businessName}/form/index.vue"))
|
|
|
.put(CodegenFrontTypeEnum.VUE3_ADMIN_UNIAPP_WOT.getType(), vue3AdminUniappTemplatePath("views/detail/index.vue"),
|