fix: axios config

This commit is contained in:
xingyu
2022-08-02 18:27:23 +08:00
parent eff9cb6510
commit c859bc9332
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 }