From 3a8b721d7c89d1f6c4291989590b3fedce214a26 Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Mon, 10 Nov 2025 11:41:42 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 8 +++ .idea/JavaProjectRepo.iml | 9 +++ .idea/compiler.xml | 19 ++++++ .idea/encodings.xml | 6 ++ .idea/inspectionProfiles/Project_Default.xml | 6 ++ .idea/jarRepositories.xml | 20 ++++++ .idea/misc.xml | 14 ++++ .idea/modules.xml | 8 +++ .idea/prettier.xml | 6 ++ .idea/vcs.xml | 6 ++ framework/frontend/src/layout/index.vue | 2 +- framework/pom.xml | 66 +------------------ .../com/yfd/platform/PlatformApplication.java | 5 +- 13 files changed, 108 insertions(+), 67 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/JavaProjectRepo.iml create mode 100644 .idea/compiler.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/jarRepositories.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/prettier.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/JavaProjectRepo.iml b/.idea/JavaProjectRepo.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/JavaProjectRepo.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..c025d3e --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..37cb34a --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..03d9549 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..ba63d7d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..3dc5630 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml new file mode 100644 index 0000000..b0c1c68 --- /dev/null +++ b/.idea/prettier.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/framework/frontend/src/layout/index.vue b/framework/frontend/src/layout/index.vue index 8383406..4b217e6 100644 --- a/framework/frontend/src/layout/index.vue +++ b/framework/frontend/src/layout/index.vue @@ -95,7 +95,7 @@ function toggleSideBar() { @use '@/styles/variables.module.scss' as variables; .app-wrapper { - @include clearfix; + // @include clearfix; position: relative; height: 100%; width: 100%; diff --git a/framework/pom.xml b/framework/pom.xml index a416d3b..bf9f6cf 100644 --- a/framework/pom.xml +++ b/framework/pom.xml @@ -312,70 +312,8 @@ - - - org.codehaus.mojo - exec-maven-plugin - 3.1.0 - - - frontend-install - generate-resources - - exec - - - npm - ${project.basedir}/frontend - - install - - - - - frontend-build - generate-resources - - exec - - - npm - ${project.basedir}/frontend - - run - build:mvn - - - - - - - org.apache.maven.plugins - maven-resources-plugin - 3.3.1 - - - copy-frontend - process-resources - - copy-resources - - - true - true - false - ${project.basedir}/src/main/resources/static - - - ${project.basedir}/frontend/dist - false - - - - - - + org.asciidoctor asciidoctor-maven-plugin @@ -402,7 +340,7 @@ -Dfile.encoding=UTF-8 - true + org.projectlombok diff --git a/framework/src/main/java/com/yfd/platform/PlatformApplication.java b/framework/src/main/java/com/yfd/platform/PlatformApplication.java index a98fea6..769402c 100644 --- a/framework/src/main/java/com/yfd/platform/PlatformApplication.java +++ b/framework/src/main/java/com/yfd/platform/PlatformApplication.java @@ -6,6 +6,7 @@ import com.yfd.platform.utils.SpringContextHolder; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.cache.annotation.EnableCaching; @@ -18,8 +19,8 @@ import org.springframework.web.bind.annotation.RestController; @RestController @EnableTransactionManagement @ServletComponentScan("com.yfd.platform.config") -@MapperScan(basePackages = "com.yfd.platform.modules.*.mapper,com.yfd.platform.*.mapper") -@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class}) +@MapperScan(basePackages = "com.yfd.platform.*.mapper") +@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class, RedisAutoConfiguration.class}) @Import({DynamicDataSourceConfig.class}) @EnableCaching public class PlatformApplication {