From 1667fca06c24a9e961e43f486b2f3bd412cd65cb Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Tue, 18 Jun 2024 11:00:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=87=8D=E5=BA=86=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=AF=86=E7=A0=81=E7=99=BB=E5=BD=95=E8=BD=AC=E8=B7=B3?= =?UTF-8?q?=E9=87=8D=E7=BD=AE=E5=AF=86=E7=A0=81=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/views/login.vue | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/sgzb-ui/src/views/login.vue b/sgzb-ui/src/views/login.vue index d54f1621..fd177173 100644 --- a/sgzb-ui/src/views/login.vue +++ b/sgzb-ui/src/views/login.vue @@ -431,13 +431,14 @@ export default { this.$store .dispatch('Login', this.loginForm) .then(() => { - if (localStorage.getItem('isCode') == 1) { - this.$router - .push({ path: '/resetPassword' }) - .catch(() => {}) - } else { - this.$router.push({ path: '/' }).catch(() => {}) - } + // if (localStorage.getItem('isCode') == 1) { + // this.$router + // .push({ path: '/resetPassword' }) + // .catch(() => {}) + // } else { + // this.$router.push({ path: '/' }).catch(() => {}) + // } + this.$router.push({ path: '/' }).catch(() => {}) }) .catch(() => { this.loading = false