Commit dec6c628 authored by liuzhaoh's avatar liuzhaoh

优化登录验证码出现时机

parent 474d0900
...@@ -589,6 +589,8 @@ export default { ...@@ -589,6 +589,8 @@ export default {
this.loginOldForm.password = ""; this.loginOldForm.password = "";
} }
this.debounceAction = this.debounce(this.handleAccountInput, 100); this.debounceAction = this.debounce(this.handleAccountInput, 100);
// 如果账号存在,则调用一下是用手机号码还是图形验证码
this.handleAccountInput(this.loginOldForm.account)
}, },
destroyed() { destroyed() {
// window.removeEventListener('storage', this.afterQRScan) // window.removeEventListener('storage', this.afterQRScan)
...@@ -1430,7 +1432,7 @@ $light_gray: #eee; ...@@ -1430,7 +1432,7 @@ $light_gray: #eee;
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: space-between;
.captcha-value { .captcha-value {
width: 60%; 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