Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
8cc57470095c6b855560258f11b55d3c876e108f
2 parents
08139782
18e23ae1
Merge remote-tracking branch 'remotes/origin/hotfix/login'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
static/js/passport/api.js
static/js/passport/api.js
View file @
8cc5747
...
...
@@ -8,7 +8,8 @@ var $ = require('jquery');
var
trim
=
$
.
trim
;
//邮箱验证规则
var
emailRegx
=
/^
([
a-zA-Z0-9
]
+
[
_|
\_
|
\.
|-
]?)
*
[
a-zA-Z0-9
]
+@
([
a-zA-Z0-9
]
+
[
_|
\_
|
\.
|-
]?)
*
[
a-zA-Z0-9
]
+
\.[
a-zA-Z
]{2,3}
$/
;
var
emailRegx
=
/^
([
a-zA-Z0-9
]
+
[
_|
\_
|
\.
|-
]?)
*
[
a-zA-Z0-9
]
+
[
_|
\_
|
\.
|-
]?
@
([
a-zA-Z0-9
]
+
[
_|
\_
|
\.
|-
]?)
*
[
a-zA-Z0-9
]
+
\.[
a-zA-Z
]{2,3}
$/
;
//手机号码验证规则
var
phoneRegx
=
{
...
...
@@ -132,4 +133,4 @@ module.exports = {
bindClearEvt
:
bindClearEvt
,
pwdValidate
:
pwdValidate
,
selectCssHack
:
selectCssHack
};
\ No newline at end of file
};
...
...
Please
register
or
login
to post a comment