Commit 93c7528e by 胡悦

修改手机号正则

1 parent 1343ba6d
...@@ -73,7 +73,7 @@ export const Common = { ...@@ -73,7 +73,7 @@ export const Common = {
* 手机号 * 手机号
* */ * */
checkRegExpPhoneTel(rule, value, callback) { checkRegExpPhoneTel(rule, value, callback) {
var rxpPhone = /^1[345789]\d{9}$/ var rxpPhone = /^1[3456789]\d{9}$/
var rxpTel = /^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/ var rxpTel = /^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/
if (!rule.required) { if (!rule.required) {
if (!value) { if (!value) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!