mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:13:26 +08:00
Merge branch 'dev' into 'master'
uniapp【优化】:优化ui组件手机格式验证问题 See merge request jianweie/coreshoppro!116
This commit is contained in:
@@ -9,7 +9,7 @@ function email(value) {
|
|||||||
* 验证手机格式
|
* 验证手机格式
|
||||||
*/
|
*/
|
||||||
function mobile(value) {
|
function mobile(value) {
|
||||||
return /^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(value)
|
return /^1[3-9]\d{9}$/.test(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user