Przeglądaj źródła

手机号码验证

zhengwei 6 lat temu
rodzic
commit
c88ee21df5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      WebContent/mobile/common/common.js

+ 1 - 1
WebContent/mobile/common/common.js

@@ -229,7 +229,7 @@ mobile.getWeek = function(date){
  * 检查手机号码
  */
 mobile.checkMobile = function (phone){
-	var reg= /(^1[3|4|5|7|8][0-9]{9}$)/;
+	var reg= /(^1[3|4|5|7|8|9][0-9]{9}$)/;
 	return reg.test(phone);
 }