Commit e47e882b72cc03a45e38b3c33cbef3b01ffc6f16
Merge branch 'fix/login-phone-code' into 'main_dev'
fix: 修复发送验证码过后还可以继续点击 See merge request yunteng/thingskit-app!145
Showing
1 changed file
with
3 additions
and
2 deletions
... | ... | @@ -67,7 +67,8 @@ |
67 | 67 | async getVerifyCode() { |
68 | 68 | const phoneRegular = /^1\d{10}$/; |
69 | 69 | if (this.readonly) { |
70 | - useShowToast('验证码已发送~') | |
70 | + // useShowToast('验证码已发送~') | |
71 | + return | |
71 | 72 | } |
72 | 73 | if (!this.loginForm.phoneNumber) { |
73 | 74 | return useShowToast('请输入手机号~') |
... | ... | @@ -130,4 +131,4 @@ |
130 | 131 | |
131 | 132 | <style lang="scss" scoped> |
132 | 133 | @import './static/code.scss'; |
133 | -</style> | |
\ No newline at end of file | ||
134 | +</style> | ... | ... |