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
Targaryen
2017-05-16 15:29:01 +0800
Commit
6a194db28200447455735eae625ae628f6a932df
2 parents
80e0f92a
1737f1cf
Merge branch 'feature/fcs' into release/5.7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
public/js/home/address-act.page.js
public/js/home/order-address-modify.page.js
public/js/home/address-act.page.js
View file @
6a194db
...
...
@@ -82,7 +82,7 @@ $addressForm.on('submit', function() {
return
false
;
}
if
(
username
&&
/
[^
u4e00-
\u
9fa5
]
/gi
.
test
(
username
))
{
if
(
username
&&
!
/^
[\u
4E00-
\u
9FA5A-Za-z0-9
]
+$
/gi
.
test
(
username
))
{
tip
.
show
(
'收货人姓名不支持特殊符号'
);
return
false
;
}
...
...
public/js/home/order-address-modify.page.js
View file @
6a194db
...
...
@@ -47,7 +47,7 @@ $btnSure.on('click', function() {
return
false
;
}
if
(
username
&&
/
[^
u4e00-
\u
9fa5
]
/gi
.
test
(
username
))
{
if
(
username
&&
!
/^
[\u
4E00-
\u
9FA5A-Za-z0-9
]
+$
/gi
.
test
(
username
))
{
tip
.
show
(
'收货人姓名不支持特殊符号'
);
return
false
;
}
...
...
Please
register
or
login
to post a comment