From f55a60803471e8c85e96fc102ba06005db7afd51 Mon Sep 17 00:00:00 2001 From: zhang zhuo Date: Wed, 19 Nov 2025 23:12:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- src/components/piTable/index.vue | 1 + src/layout/components/setting.vue | 8 ++++---- src/style/media.scss | 2 +- vite.config.ts | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 9748664..278de2c 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + %VITE_APP_TITLE% diff --git a/src/components/piTable/index.vue b/src/components/piTable/index.vue index 63d2277..89540b0 100644 --- a/src/components/piTable/index.vue +++ b/src/components/piTable/index.vue @@ -547,6 +547,7 @@ function sort(prop, order) { .extend-panel { display: inline-flex; flex-wrap: wrap; + flex-direction: column; } .right-panel > * + *, .left-panel > * + *, .extend-panel > * + * { diff --git a/src/layout/components/setting.vue b/src/layout/components/setting.vue index 4d36489..afbb052 100644 --- a/src/layout/components/setting.vue +++ b/src/layout/components/setting.vue @@ -2,9 +2,9 @@ {{t('user.thememode')}} - 浅色 - 深色 - 跟随系统 + 浅色 + 深色 + 跟随系统 @@ -124,7 +124,7 @@ function themeClick(val) { diff --git a/src/style/media.scss b/src/style/media.scss index ff4632e..d8af221 100644 --- a/src/style/media.scss +++ b/src/style/media.scss @@ -25,7 +25,7 @@ height: auto!important;display: block; .left-panel {overflow: auto;} .left-panel::-webkit-scrollbar{display: none;} - .right-panel {display: block;border-top: 1px solid var(--el-border-color-light);margin-top: 15px;} + .right-panel {margin-top: 15px;} .right-panel .right-panel-search {display: block;} .right-panel .right-panel-search >* {width: 100%;margin: 0;margin-top: 15px;} } diff --git a/vite.config.ts b/vite.config.ts index bf37201..7ba9751 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -18,7 +18,7 @@ export default defineConfig(({mode, command}) => { }, extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'] }, - base: VITE_APP_ENV == 'production' ? '/super' : '/', + base: VITE_APP_ENV == 'production' ? '/super/' : '/', // vite 相关配置 server: { port: 8611,