Commit dec6c628 authored by liuzhaoh's avatar liuzhaoh

优化登录验证码出现时机

parent 474d0900
......@@ -589,6 +589,8 @@ export default {
this.loginOldForm.password = "";
}
this.debounceAction = this.debounce(this.handleAccountInput, 100);
// 如果账号存在,则调用一下是用手机号码还是图形验证码
this.handleAccountInput(this.loginOldForm.account)
},
destroyed() {
// window.removeEventListener('storage', this.afterQRScan)
......@@ -1430,7 +1432,7 @@ $light_gray: #eee;
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
justify-content: space-between;
.captcha-value {
width: 60%;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment