From caa05df2e5ae872879e33359e4d9c83be7210d1c Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Wed, 16 Apr 2025 16:21:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89islogin=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login1.vue | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/src/views/login1.vue b/src/views/login1.vue index 1b1bebd0..5f335b9a 100644 --- a/src/views/login1.vue +++ b/src/views/login1.vue @@ -282,24 +282,25 @@ export default { this.loading = true let that = this this.loginForm.loginMethod = this.loginMethod - this.$store.dispatch('IsLogin', this.loginForm) - .then(res => { - if (res.data) { - this.$modal.confirm('账号已在其他地方登录是否继续登录!!!!').then(function() { - return that.handleLogin() - }).then(() => { - this.loading = false - }).catch(() => { - this.loading = false - }) - } else { - that.handleLogin() - } - }) - .catch(() => { - this.loading = false - if (this.captchaEnabled) this.getCode() - }) + that.handleLogin() + // this.$store.dispatch('IsLogin', this.loginForm) + // .then(res => { + // if (res.data) { + // this.$modal.confirm('账号已在其他地方登录是否继续登录!!!!').then(function() { + // return that.handleLogin() + // }).then(() => { + // this.loading = false + // }).catch(() => { + // this.loading = false + // }) + // } else { + // that.handleLogin() + // } + // }) + // .catch(() => { + // this.loading = false + // if (this.captchaEnabled) this.getCode() + // }) } }) },