From ed9dc1c0c371687c3c3c656e47ad9aae7d7c5279 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Mon, 9 Sep 2024 14:00:31 +0800 Subject: [PATCH] =?UTF-8?q?1.token=E5=A4=B1=E6=95=88=E6=97=B6=E9=80=80?= =?UTF-8?q?=E5=87=BA=E5=88=B0=E5=90=8E=E5=8F=B0=E7=99=BB=E5=BD=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/request.ts b/src/utils/request.ts index bdd0cf81..c53167a7 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -59,7 +59,7 @@ service.interceptors.response.use( type: 'warning', }).then(() => { localStorage.clear(); // @vueuse/core 自动导入 - window.location.href = data; + window.location.href = data.logout; }); } } else {