Browse Source

增加校验修改

tanxue 4 tháng trước cách đây
mục cha
commit
e0df4a25d7
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      pages/my/telDialog.vue

+ 4 - 1
pages/my/telDialog.vue

@@ -101,7 +101,10 @@
 			// 获取验证码按钮
 			getYzmBtn() {
 				// 判断手机号校验是否通过
-				if (this.bindObj.isDisabled === true) {
+				if (this.bindObj.timeLeft !=60) {
+					toast('请在'+this.bindObj.timeLeft +'后重新获取验证码!')
+					return
+				}else if(this.bindObj.isDisabled === true) {
 					toast("请输入正确的手机号!")
 					return
 				}else{