From 66fd052709ea96a94742bb51784cff83f796e48f Mon Sep 17 00:00:00 2001 From: vince Date: Mon, 29 Jul 2024 00:19:26 +0800 Subject: [PATCH] fix: fix known issues. fixed #59,fixed #61, fixed #67, fixed #68 [deploy] --- .github/workflows/deploy.yml | 2 +- apps/web-antd/.env | 2 +- apps/web-antd/index.html | 4 +- apps/web-antd/src/preferences.ts | 6 - apps/web-antd/vite.config.mts | 18 +- .../vite-config/src/config/application.ts | 7 + internal/vite-config/src/options.ts | 2 +- .../default-loading-antd.html | 2 +- .../inject-app-loading/default-loading.html | 2 +- internal/vite-config/src/utils/env.ts | 4 +- package.json | 14 +- .../breadcrumb/breadcrumb-background.vue | 2 +- .../src/components/scrollbar/scrollbar.vue | 7 +- .../src/components/tabs-chrome/tabs.vue | 6 +- .../tabs-ui/src/components/tabs/tabs.vue | 6 +- .../@core/ui-kit/tabs-ui/src/tabs-view.vue | 12 +- packages/effects/hooks/src/use-app-config.ts | 3 +- packages/stores/src/modules/tabbar.ts | 11 +- packages/types/global.d.ts | 2 - pnpm-lock.yaml | 179 ++++++++++-------- scripts/vsh/src/lint/index.ts | 1 + website/src/commercial/technical-support.md | 2 +- website/src/guide/essentials/concept.md | 6 +- website/src/guide/essentials/development.md | 4 +- website/src/guide/essentials/settings.md | 10 +- website/src/guide/in-depth/loading.md | 4 +- 26 files changed, 163 insertions(+), 155 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0851e5dd..9cf99d15 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ on: jobs: deploy-push-ftp: name: Deploy Push Ftp - if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]') + if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]') && contains(github.event.head_commit.message, '[deploy]') runs-on: ubuntu-latest strategy: matrix: diff --git a/apps/web-antd/.env b/apps/web-antd/.env index 57000a52..87821d87 100644 --- a/apps/web-antd/.env +++ b/apps/web-antd/.env @@ -1,5 +1,5 @@ # 应用标题 -VITE_GLOB_APP_TITLE=Vben Admin +VITE_APP_TITLE=Vben Admin # 应用命名空间,用于缓存、store等功能的前缀,确保隔离 VITE_APP_NAMESPACE=vben-web-antd diff --git a/apps/web-antd/index.html b/apps/web-antd/index.html index 01d77c1e..ca532699 100644 --- a/apps/web-antd/index.html +++ b/apps/web-antd/index.html @@ -11,8 +11,8 @@ name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" /> - - <%= VITE_GLOB_APP_TITLE %> + + <%= VITE_APP_TITLE %>