zpj 1 éve
szülő
commit
1e360b0c66
1 módosított fájl, 3 hozzáadás és 0 törlés
  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
 				}