From 5457f3da2583b94728d66bf71b8533fcafc291df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Wed, 6 Aug 2025 18:33:06 +0800 Subject: [PATCH] =?UTF-8?q?task=2045202=20=E5=A4=A7=E5=B1=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 1 - src/views/login/index.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 906d1dd..3195a97 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -65,7 +65,6 @@ service.interceptors.response.use(res => { store.dispatch('LogOut').then(() => { try { const targetPath = window.location.pathname; - console.log(window.location) if(targetPath) location.href = '/login?redirect=' + encodeURIComponent(targetPath); else diff --git a/src/views/login/index.js b/src/views/login/index.js index e9d74a5..5f2f391 100644 --- a/src/views/login/index.js +++ b/src/views/login/index.js @@ -184,7 +184,6 @@ export default { //重置密码 this.$set(this.resetPwd, "open", true); } else { - console.log(this.redirect + 11111111111); this.$router.push({ path: this.redirect || "/nav" }) } }