From 758b4fc1ccbc43bbd99c31fb56cec4f61151ef90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E6=B0=B8=E8=B6=85?= <2090205686@qq.com> Date: Tue, 26 Aug 2025 17:27:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=B7=AF=E7=94=B1=E5=92=8C?= =?UTF-8?q?=E6=89=93=E5=8C=85=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=8C=85=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 4 +- src/layout/components/Navbar.vue | 7 +- src/layout/components/TagsView/index.vue | 2 +- src/permission.js | 10 +-- src/router/index.js | 110 +++++++++++------------ src/store/modules/user.js | 2 +- src/utils/request.js | 2 +- src/views/error/404.vue | 2 +- src/views/login.vue | 4 +- vite.config.js | 2 +- 11 files changed, 72 insertions(+), 75 deletions(-) diff --git a/.env.development b/.env.development index f5887ec..11276d8 100644 --- a/.env.development +++ b/.env.development @@ -5,6 +5,6 @@ VITE_APP_TITLE = 运营云后台管理系统 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.18.88:8080' +VITE_APP_BASE_API = 'http://192.168.18.99:8080' # VITE_APP_BASE_API = 'http://192.168.18.151:8080' VITE_APP_PLATFORM = 'http://localhost:9000/platform' \ No newline at end of file diff --git a/.env.production b/.env.production index 5b5b061..2fa44ec 100644 --- a/.env.production +++ b/.env.production @@ -5,8 +5,8 @@ VITE_APP_TITLE = 运营云后台管理系统 VITE_APP_ENV = 'production' # 生产环境 -VITE_APP_BASE_API = 'http://47.109.205.240:8080' -VITE_APP_PLATFORM = 'http://47.109.205.240/platform' +VITE_APP_BASE_API = 'https://app.yingyijt.com/apis' +VITE_APP_PLATFORM = 'https://app.yingyijt.com/platform' # 是否在打包时开启压缩,支持 gzip 和 brotli VITE_BUILD_COMPRESS = gzip \ No newline at end of file diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index fc49b0f..b8ac755 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -42,7 +42,7 @@