Pre Merge pull request !465 from AhJindeg/hotfix/response

pull/465/MERGE
AhJindeg 2024-07-07 03:34:30 +00:00 committed by Gitee
commit be98f8f639
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 })
}