From d0f1ba2511cf0ce021da972808d6848d97a78e5f Mon Sep 17 00:00:00 2001 From: liruiqiang <3151805288@qq.com> Date: Mon, 8 Dec 2025 13:12:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=8A=B6=E6=80=81=E7=A0=81?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/myAxios.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/myAxios.js b/src/utils/myAxios.js index f2db34a..c4b5434 100644 --- a/src/utils/myAxios.js +++ b/src/utils/myAxios.js @@ -57,8 +57,7 @@ myAxios.interceptors.response.use( switch (error.response.status) { case 401: message = '未授权,请重新登录' - // 示例:跳转到登录页(需导入 router) - // router.push('/login') + router.push('/login') break case 403: message = '没有权限访问'