!443 update src/views/Login/SocialLogin.vue.
Merge pull request !443 from 天痕/N/A
This commit is contained in:
commit
aefee5211a
@ -207,7 +207,7 @@ const loginData = reactive({
|
|||||||
// 获取验证码
|
// 获取验证码
|
||||||
const getCode = async () => {
|
const getCode = async () => {
|
||||||
// 情况一,未开启:则直接登录
|
// 情况一,未开启:则直接登录
|
||||||
if (loginData.captchaEnable) {
|
if (!loginData.captchaEnable) {
|
||||||
await handleLogin({})
|
await handleLogin({})
|
||||||
} else {
|
} else {
|
||||||
// 情况二,已开启:则展示验证码;只有完成验证码的情况,才进行登录
|
// 情况二,已开启:则展示验证码;只有完成验证码的情况,才进行登录
|
||||||
|
Loading…
Reference in New Issue
Block a user