Commit d3bf3417e30aad017bc26f69d939444a60f3e3e9

Authored by loveumiko
1 parent 981e6ea0

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

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