Commit 7bc89cb7 by chenwq

```

fix(utils): 修复手机号验证正则表达式

修改了WxValidate.js中的手机号验证规则,将正则表达式中的数字范围从[345789]调整为[3456789],
以支持以数字6开头的手机号段验证。
```
1 parent 16306c5c
...@@ -89,7 +89,7 @@ class WxValidate { ...@@ -89,7 +89,7 @@ class WxValidate {
* 验证手机格式 * 验证手机格式
*/ */
tel(value) { tel(value) {
return that.optional(value) || /^1[345789]\d{9}$/.test(value) return that.optional(value) || /^1[3456789]\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!