From 096a88cbd52464151ff3d135f92dbfd00d57966c Mon Sep 17 00:00:00 2001 From: liuchen <23082234@qq.com> Date: Mon, 15 Jan 2024 17:09:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=EF=BC=8C=E5=A4=A7=E5=B1=8F=E5=85=8D=E7=99=BB?= =?UTF-8?q?=E9=99=86=E5=88=86=E4=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- src/api/axios.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.production b/.env.production index b7f4a92..fe5163c 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,8 @@ # port -VITE_DEV_PORT = '8080' +VITE_DEV_PORT = '25100' # production path -VITE_BASE_URL = 'http://dev.ccwin-in.com:25100/api' +VITE_BASE_URL = 'http://10.62.193.15:25100/api' # 租户开关 VITE_APP_TENANT_ENABLE=true \ No newline at end of file diff --git a/src/api/axios.ts b/src/api/axios.ts index c1ed40d..22336b4 100644 --- a/src/api/axios.ts +++ b/src/api/axios.ts @@ -40,7 +40,7 @@ axiosInstance.interceptors.request.use( // 获取 token // 重新登录 if (!info) { - routerTurnByName(PageEnum.BASE_LOGIN_NAME) + // routerTurnByName(PageEnum.BASE_LOGIN_NAME) return config } const userInfo = info[SystemStoreEnum.USER_INFO]