فهرست منبع

修改详情页面

wangxy 1 ماه پیش
والد
کامیت
4e268f084e
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      pages/chanpinMy/components/telDialog.vue

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

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