diff --git a/.env.development b/.env.development index 50f26757..3de53719 100644 --- a/.env.development +++ b/.env.development @@ -11,7 +11,7 @@ VITE_APP_NAME = "Core Network OMC" VITE_APP_CODE = "OMC" # 应用版本 -VITE_APP_VERSION = "2.250430" +VITE_APP_VERSION = "2.250509" # 接口基础URL地址-不带/后缀 VITE_API_BASE_URL = "/omc-api" diff --git a/.env.production b/.env.production index 50f26757..3de53719 100644 --- a/.env.production +++ b/.env.production @@ -11,7 +11,7 @@ VITE_APP_NAME = "Core Network OMC" VITE_APP_CODE = "OMC" # 应用版本 -VITE_APP_VERSION = "2.250430" +VITE_APP_VERSION = "2.250509" # 接口基础URL地址-不带/后缀 VITE_API_BASE_URL = "/omc-api" diff --git a/src/plugins/http-fetch.ts b/src/plugins/http-fetch.ts index f3673262..df8c2f28 100644 --- a/src/plugins/http-fetch.ts +++ b/src/plugins/http-fetch.ts @@ -242,8 +242,10 @@ async function beforeResponse( setRefreshToken(result.data.refreshToken, result.data.refreshExpiresIn); return await request(options); } else { - delAccessToken(); - delRefreshToken(); + debugger + console.warn(result) + // delAccessToken(); + // delRefreshToken(); window.location.reload(); } }