fix: axios config

This commit is contained in:
xingyu
2022-08-02 18:27:23 +08:00
parent a1f10e68f5
commit 5ce8e64369
2 changed files with 20 additions and 19 deletions

View File

@ -172,6 +172,7 @@ const handleAuthorized = () => {
isRelogin.show = true
ElNotification.error(t('sys.api.timeoutMessage'))
}
location.href = '/'
return Promise.reject(t('sys.api.timeoutMessage'))
}
export { service }