mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
解决166 手机号无法保修的bug
This commit is contained in:
parent
e45a3da8ab
commit
7454b77b87
@ -71,7 +71,7 @@ const escape2Html = function(str) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const checkPhoneNumber = function(_value){
|
const checkPhoneNumber = function(_value){
|
||||||
let grep = /^(1(([35789][0-9])|(47)))\d{8}$/;
|
let grep = /^(1(([356789][0-9])|(47)))\d{8}$/;
|
||||||
if(grep.test(_value)){
|
if(grep.test(_value)){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user