Commit bc6cdecb23b446c250852b55d9e6c3fd0457e88a
Merge remote-tracking branch 'origin/feature/sub-table'
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenEngine.java
| ... | ... | @@ -103,7 +103,7 @@ public class CodegenEngine { |
| 103 | 103 | .put(CodegenFrontTypeEnum.VUE2.getType(), vueTemplatePath("views/index.vue"), |
| 104 | 104 | vueFilePath("views/${table.moduleName}/${table.businessName}/index.vue")) |
| 105 | 105 | .put(CodegenFrontTypeEnum.VUE2.getType(), vueTemplatePath("api/api.js"), |
| 106 | - vueFilePath("api/${table.moduleName}/${classNameVar}.js")) | |
| 106 | + vueFilePath("api/${table.moduleName}/${table.businessName}/index.js")) | |
| 107 | 107 | .put(CodegenFrontTypeEnum.VUE2.getType(), vueTemplatePath("views/form.vue"), |
| 108 | 108 | vueFilePath("views/${table.moduleName}/${table.businessName}/${simpleClassName}Form.vue")) |
| 109 | 109 | .put(CodegenFrontTypeEnum.VUE2.getType(), vueTemplatePath("views/components/form_sub_normal.vue"), // 特殊:主子表专属逻辑 | ... | ... |