From ba602349331320c85727a90966d51a29cd76722f Mon Sep 17 00:00:00 2001 From: liukang <644012909@qq.com> Date: Wed, 12 Feb 2025 09:42:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +-- .env.production | 4 +-- .env.staging | 2 +- src/layout/components/Navbar.vue | 26 ++++++++------- src/main.js | 2 +- src/router/index.js | 1 + src/utils/request.js | 54 +++++++++++++++++++------------- 7 files changed, 53 insertions(+), 40 deletions(-) diff --git a/.env.development b/.env.development index d83132c..f978cdd 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 代申 # 开发环境配置 ENV = 'development' @@ -9,4 +9,4 @@ VUE_APP_BASE_API = '/dev-api' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true -VITE_BASE_PATH = '' +VUE_APP_VITE_BASE_PATH = '/weverse/' diff --git a/.env.production b/.env.production index 5636990..e7fd153 100644 --- a/.env.production +++ b/.env.production @@ -1,9 +1,9 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 代申 # 生产环境配置 ENV = 'production' # 若依管理系统/生产环境 VUE_APP_BASE_API = '/weverse-prod-api' -VITE_BASE_PATH = '/weverse/' +VUE_APP_VITE_BASE_PATH = '/weverse/' diff --git a/.env.staging b/.env.staging index a320f1b..5c284a4 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 代申 BABEL_ENV = production diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index b96c8dd..0b8503f 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -1,26 +1,27 @@