!465 fix: update axios interceptors response

Merge pull request !465 from AhJindeg/hotfix/response
pull/473/head
芋道源码 2024-07-07 03:35:31 +00:00 committed by Gitee
commit 8a73fbe775
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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 })
}