Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
yyq
2018-06-13 10:15:13 +0800
Commit
28722ddd71039c2d2f895bc8f07c5426456945d8
2 parents
6f3fce65
3aa1a937
Merge remote-tracking branch 'origin/feature/mobileValidate' into release/0613
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
public/js/passport/api.js
public/js/passport/api.js
View file @
28722dd
...
...
@@ -12,7 +12,7 @@ let emailRegx = /^([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|
// 手机号码验证规则
let
phoneRegx
=
{
'+86'
:
/^
1
[
35847
]{
1
}[
0
-
9
]{
9
}
$
/
,
'+86'
:
/^
1
[
0
-
9
]{
10
}
$
/
,
'+852'
:
/^
[
965
]{
1
}[
0
-
9
]{
7
}
$
/
,
'+853'
:
/^
[
0
-
9
]{
8
}
$
/
,
'+886'
:
/^
[
0
-
9
]{
10
}
$
/
,
...
...
Please
register
or
login
to post a comment