Skip to content

Commit 8362665

Browse files
YunaiVgitee-org
authored andcommitted
!533 fix: delete href.includes('login?redirect=')
Merge pull request !533 from AhJindeg/hotfix/handleAuthorized
2 parents a2b378b + 8547b28 commit 8362665

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/config/axios/service.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,6 @@ const refreshToken = async () => {
206206
const handleAuthorized = () => {
207207
const { t } = useI18n()
208208
if (!isRelogin.show) {
209-
// 如果已经到重新登录页面则不进行弹窗提示
210-
if (window.location.href.includes('login?redirect=')) {
211-
return
212-
}
213209
isRelogin.show = true
214210
ElMessageBox.confirm(t('sys.api.timeoutMessage'), t('common.confirmTitle'), {
215211
showCancelButton: false,

0 commit comments

Comments
 (0)