mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-02-02 03:34:59 +08:00
!465 fix: update axios interceptors response
Merge pull request !465 from AhJindeg/hotfix/response
This commit is contained in:
commit
8a73fbe775
@ -174,6 +174,7 @@ service.interceptors.response.use(
|
|||||||
if (msg === '无效的刷新令牌') {
|
if (msg === '无效的刷新令牌') {
|
||||||
// hard coding:忽略这个提示,直接登出
|
// hard coding:忽略这个提示,直接登出
|
||||||
console.log(msg)
|
console.log(msg)
|
||||||
|
return handleAuthorized()
|
||||||
} else {
|
} else {
|
||||||
ElNotification.error({ title: msg })
|
ElNotification.error({ title: msg })
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user