浏览代码

手机号码验证

zhengwei 6 年之前
父节点
当前提交
c88ee21df5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 }