Commit d3500317 by zhangquan

手机号校验修改

1 parent a3815156
...@@ -89,7 +89,7 @@ class WxValidate { ...@@ -89,7 +89,7 @@ class WxValidate {
* 验证手机格式 * 验证手机格式
*/ */
tel(value) { tel(value) {
return that.optional(value) || /^1[34578]\d{9}$/.test(value) return that.optional(value) || /^1[3465789]\d{9}$/.test(value)
}, },
/** /**
* 验证URL格式 * 验证URL格式
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!