From e92fe1e0269924bfff081c2d23783dd4da3847f0 Mon Sep 17 00:00:00 2001 From: pengda <1111@qq.com> Date: Thu, 31 Jul 2025 11:28:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E7=99=BB=E9=99=86=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/request.js b/src/utils/request.js index 194ae20..574fa65 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -53,7 +53,7 @@ service.interceptors.response.use( switch (error.response.status) { case 401: // 未授权,跳转到登录页 - window.location.href = "/"; + // window.location.href = "/"; break; case 402: // token失效