From 177233462ceefed2667bfae72461092d92d7f57f Mon Sep 17 00:00:00 2001 From: pengda <1111@qq.com> Date: Thu, 31 Jul 2025 11:37:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=81=9C=E9=87=8D=E5=AE=9A=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/loginRefresh.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/loginRefresh.js b/src/utils/loginRefresh.js index af167e8..74a8ff9 100644 --- a/src/utils/loginRefresh.js +++ b/src/utils/loginRefresh.js @@ -1,4 +1,4 @@ -import { host } from '@/config/host'; +// import { host } from '@/config/host'; let isRefreshing = false let refreshSubscribers = [] @@ -42,7 +42,7 @@ export async function handleTokenRefresh(originalRequest, instance) { isRefreshing = false refreshSubscribers = [] localStorage.removeItem('token') - window.location.href = host; + // window.location.href = host; return Promise.reject(err) } }