Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Targaryen
8 years ago
Commit
65d0d6c45de006d2517f5d0023ae2140440191ee
2 parents
d0e723de
a7972fea
Merge branch 'hotfix/addressname' into release/5.7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
public/js/home/address.page.js
public/js/home/address.page.js
View file @
65d0d6c
...
...
@@ -182,7 +182,7 @@ function blurAction(opt) {
if
(
opt
.
inputName
===
'addressName'
)
{
regular
=
/^
([\u
4e00-
\u
9fa5
\w]{1,20})
$/
;
if
(
stringHandle
.
chinese2
(
opt
)
>
20
||
stringHandle
.
chinese2
(
opt
)
<
1
)
{
if
(
stringHandle
.
chinese2
(
value
)
>
20
||
stringHandle
.
chinese2
(
value
)
<
1
)
{
msg
=
'收货人姓名最多支持20个字'
;
res
=
false
;
domClass
=
'form-info form-error'
;
...
...
Please
register
or
login
to post a comment