Skip to content

Commit 8a73fbe

Browse files
YunaiVgitee-org
authored andcommitted
!465 fix: update axios interceptors response
Merge pull request !465 from AhJindeg/hotfix/response
2 parents 38fe69f + ef9ed50 commit 8a73fbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config/axios/service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ service.interceptors.response.use(
174174
if (msg === '无效的刷新令牌') {
175175
// hard coding:忽略这个提示,直接登出
176176
console.log(msg)
177+
return handleAuthorized()
177178
} else {
178179
ElNotification.error({ title: msg })
179180
}

0 commit comments

Comments
 (0)