From 7092e24098c25231dd35fbdab03ea003990d708b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E7=97=95?= <614891294@qq.com> Date: Tue, 7 May 2024 09:10:43 +0000 Subject: [PATCH] =?UTF-8?q?update=20src/views/Login/SocialLogin.vue.=20?= =?UTF-8?q?=E8=BF=99=E9=87=8C=E5=BA=94=E8=AF=A5=E5=8F=96=E5=8F=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 天痕 <614891294@qq.com> --- src/views/Login/SocialLogin.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Login/SocialLogin.vue b/src/views/Login/SocialLogin.vue index 1eb9293c..af77d889 100644 --- a/src/views/Login/SocialLogin.vue +++ b/src/views/Login/SocialLogin.vue @@ -207,7 +207,7 @@ const loginData = reactive({ // 获取验证码 const getCode = async () => { // 情况一,未开启:则直接登录 - if (loginData.captchaEnable) { + if (!loginData.captchaEnable) { await handleLogin({}) } else { // 情况二,已开启:则展示验证码;只有完成验证码的情况,才进行登录