From f4a24ef4171f1d477a50c723aeaadf66823fe686 Mon Sep 17 00:00:00 2001 From: bqy_fe <1743369777@qq.com> Date: Fri, 31 Dec 2021 13:06:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9D=A2=E5=8C=85=E5=B1=91=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E5=92=8C=E5=BC=B9=E7=AA=97=E6=8B=96=E6=8B=BD=E5=90=8E?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 +- package.json | 2 +- src/App.vue | 4 +- src/components/a-custom-modal/index.vue | 3 + src/layout/header/index.vue | 81 +++++++++++++++---- src/layout/menu/menu.vue | 14 ++-- src/layout/tabs/tabs-view.vue | 2 +- src/plugins/assets.ts | 4 +- src/router/asyncModules/test.ts | 3 +- src/router/generator-router.tsx | 38 ++++++--- src/router/staticModules/dashboard.ts | 6 +- src/router/staticModules/demos.ts | 32 ++++---- src/router/staticModules/error.ts | 6 +- src/styles/common.less | 16 ---- src/styles/index.less | 4 + src/styles/transition.less | 58 +++++++++++++ src/utils/urlUtils.ts | 7 ++ .../shared/demos/tables/lol-table/columns.tsx | 4 +- .../demos/tables/wzry-table/columns.tsx | 2 +- types/vue-router.d.ts | 6 +- vue.config.js | 4 +- yarn.lock | 18 ++--- 22 files changed, 221 insertions(+), 97 deletions(-) create mode 100644 src/styles/index.less create mode 100644 src/styles/transition.less diff --git a/.env.production b/.env.production index 080e9cb33..ed85a0735 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,9 @@ ENV = 'production' # base api -VUE_APP_BASE_API = 'http://175.24.200.3:7001/admin/' +VUE_APP_BASE_API = 'http://buqiyuan.site:7001/admin/' VUE_APP_BASE_SOCKET_PATH = '/ws-api' -VUE_APP_BASE_SOCKET_NSP = 'ws://175.24.200.3:7002/admin' +VUE_APP_BASE_SOCKET_NSP = 'ws://buqiyuan.site:7002/admin' # 网站前缀 BASE_URL = /vue3-antd-admin/ diff --git a/package.json b/package.json index fe54b40d1..a7600b572 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test prod gzip": "http-server dist --cors --gzip -c-1" }, "dependencies": { - "@vueuse/core": "^7.4.1", + "@vueuse/core": "^7.4.3", "ant-design-vue": "3.0.0-beta.4", "axios": "^0.24.0", "core-js": "^3.20.1", diff --git a/src/App.vue b/src/App.vue index 303db523b..bf25504f0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,12 +1,12 @@