diff --git a/yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenEngine.java b/yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenEngine.java index 1eb27c7c8f..76a51e8eda 100644 --- a/yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenEngine.java +++ b/yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenEngine.java @@ -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("modules/search-form.vue"), - vue3UniappFilePath("pages-${table.moduleName}/${table.businessName}/modules/search-form.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("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"), diff --git a/yudao-module-infra/src/main/resources/codegen/vue3_admin_uniapp/modules/search-form.vue.vm b/yudao-module-infra/src/main/resources/codegen/vue3_admin_uniapp/components/search-form.vue.vm similarity index 100% rename from yudao-module-infra/src/main/resources/codegen/vue3_admin_uniapp/modules/search-form.vue.vm rename to yudao-module-infra/src/main/resources/codegen/vue3_admin_uniapp/components/search-form.vue.vm diff --git a/yudao-module-infra/src/main/resources/codegen/vue3_admin_uniapp/views/index.vue.vm b/yudao-module-infra/src/main/resources/codegen/vue3_admin_uniapp/views/index.vue.vm index 298e3c869a..803d69c2b4 100644 --- a/yudao-module-infra/src/main/resources/codegen/vue3_admin_uniapp/views/index.vue.vm +++ b/yudao-module-infra/src/main/resources/codegen/vue3_admin_uniapp/views/index.vue.vm @@ -111,7 +111,7 @@ #end #end #end -import type { SearchFormData } from './modules/search-form.vue' +import type { SearchFormData } from './components/search-form.vue' import type { ${simpleClassName} } from '@/api/${table.moduleName}/${table.businessName}' import type { LoadMoreState } from '@/http/types' import { onReachBottom } from '@dcloudio/uni-app' @@ -125,7 +125,7 @@ import { DICT_TYPE } from '@/utils/constants' #if ($hasDateTime == 1) import { formatDateTime } from '@/utils/date' #end -import SearchForm from './modules/search-form.vue' +import SearchForm from './components/search-form.vue' definePage({ style: {