Commit d3bf3417e30aad017bc26f69d939444a60f3e3e9

Authored by loveumiko
1 parent 981e6ea0

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

@@ -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>