From 8547b28d63efdfc6b4897d3a797bfde828988236 Mon Sep 17 00:00:00 2001 From: AhJindeg Date: Mon, 2 Sep 2024 10:42:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9E=20delete=20href.includes('l?= =?UTF-8?q?ogin=3Fredirect=3D')?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/axios/service.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/config/axios/service.ts b/src/config/axios/service.ts index aff542b0..a2ec60f0 100644 --- a/src/config/axios/service.ts +++ b/src/config/axios/service.ts @@ -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,