!465 fix: update axios interceptors response

Merge pull request !465 from AhJindeg/hotfix/response
This commit is contained in:
芋道源码
2024-07-07 03:35:31 +00:00
committed by Gitee

View File

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