wangxy 1 месяц назад
Родитель
Сommit
4e268f084e
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      pages/chanpinMy/components/telDialog.vue

+ 6 - 0
pages/chanpinMy/components/telDialog.vue

@@ -217,10 +217,16 @@
 					return;
 					return;
 				}
 				}
 
 
+        if (this.bindObj.isDisabled) {
+          toast('请输入正确的手机号!')
+          return;
+        }
+
 				let req = {
 				let req = {
 					tel: this.bindObj.telNumber,
 					tel: this.bindObj.telNumber,
 					code: this.bindObj.yzmNumber,
 					code: this.bindObj.yzmNumber,
 				}
 				}
+
 				telBind(req).then(res => {
 				telBind(req).then(res => {
 					if (res.code == 0) {
 					if (res.code == 0) {
 						toast('手机号绑定成功')
 						toast('手机号绑定成功')