!443 update src/views/Login/SocialLogin.vue.

Merge pull request !443 from 天痕/N/A
pull/442/MERGE
芋道源码 2024-05-11 13:57:12 +00:00 committed by Gitee
commit aefee5211a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ const loginData = reactive({
// 获取验证码
const getCode = async () => {
// 情况一,未开启:则直接登录
if (loginData.captchaEnable) {
if (!loginData.captchaEnable) {
await handleLogin({})
} else {
// 情况二,已开启:则展示验证码;只有完成验证码的情况,才进行登录