zpj 1 ano atrás
pai
commit
1e360b0c66
1 arquivos alterados com 3 adições e 0 exclusões
  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
 				}