Commit e47e882b72cc03a45e38b3c33cbef3b01ffc6f16

Authored by xp.Huang
2 parents 41f4dfcd d3bf3417

Merge branch 'fix/login-phone-code' into 'main_dev'

fix: 修复发送验证码过后还可以继续点击

See merge request yunteng/thingskit-app!145
@@ -67,7 +67,8 @@ @@ -67,7 +67,8 @@
67 async getVerifyCode() { 67 async getVerifyCode() {
68 const phoneRegular = /^1\d{10}$/; 68 const phoneRegular = /^1\d{10}$/;
69 if (this.readonly) { 69 if (this.readonly) {
70 - useShowToast('验证码已发送~') 70 + // useShowToast('验证码已发送~')
  71 + return
71 } 72 }
72 if (!this.loginForm.phoneNumber) { 73 if (!this.loginForm.phoneNumber) {
73 return useShowToast('请输入手机号~') 74 return useShowToast('请输入手机号~')
@@ -130,4 +131,4 @@ @@ -130,4 +131,4 @@
130 131
131 <style lang="scss" scoped> 132 <style lang="scss" scoped>
132 @import './static/code.scss'; 133 @import './static/code.scss';
133 -</style>  
  134 +</style>