소스 검색

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
 				}