Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuloulou
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to dashboard
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
Email Patches
Plain Diff
Browse Files
Authored by
pangjie
9 years ago
Commit
08aa4a66a1d8ea08b63ab9fe20c77859f4a401bf
1 parent
b20cdbad
修改校验的bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
code/static/js.jquery/common/edit2.js
code/static/js.jquery/common/edit2.js
View file @
08aa4a6
...
...
@@ -95,7 +95,7 @@ components.prototype={
//下拉选择
$
(
"select"
,
that
.
el
).
each
(
function
()
{
var
value
=
$
.
trim
(
$
(
this
).
val
());
var
name
=
$
(
this
).
children
(
":first"
).
text
().
replace
(
/
[
请选择
]
/g
,
""
);
var
name
=
$
(
this
).
children
(
":first"
).
text
().
replace
(
/
请选择
/g
,
""
);
if
(
$
(
this
).
attr
(
"required"
)
&&
(
value
==
-
1
||
value
==
""
))
{
err
.
push
(
"<p>请选择 "
+
name
+
"</p>"
);
...
...
Please
register
or
login
to post a comment