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 {