瀏覽代碼

no message

zpj 1 年之前
父節點
當前提交
1e360b0c66
共有 1 個文件被更改,包括 3 次插入 和 0 次删除
  1. 3 0
      pages/index/order.vue

+ 3 - 0
pages/index/order.vue

@@ -538,6 +538,9 @@
 				}
 			},
 			memberPhoneLogin(){
+				if(this.phone.length < 11||this.phone.length>11){
+					return tools.error('手机号格式错误')
+				}
 				if (this.isAJAX) {
 					return
 				}