Pre Merge pull request !533 from AhJindeg/hotfix/handleAuthorized

pull/533/MERGE
AhJindeg 2024-09-02 14:30:49 +00:00 committed by Gitee
commit fce86dd4e7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 4 deletions

View File

@ -206,10 +206,6 @@ const refreshToken = async () => {
const handleAuthorized = () => {
const { t } = useI18n()
if (!isRelogin.show) {
// 如果已经到重新登录页面则不进行弹窗提示
if (window.location.href.includes('login?redirect=')) {
return
}
isRelogin.show = true
ElMessageBox.confirm(t('sys.api.timeoutMessage'), t('common.confirmTitle'), {
showCancelButton: false,