fix: 🐞 update axios interceptors response

pull/465/head
AhJindeg 2024-06-25 11:30:24 +08:00
parent 7fe8b8b7a9
commit ef9ed50533
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ service.interceptors.response.use(
if (msg === '无效的刷新令牌') {
// hard coding忽略这个提示直接登出
console.log(msg)
return handleAuthorized()
} else {
ElNotification.error({ title: msg })
}