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
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
8 years ago
Commit
bf303d2e344cf1acfcf7b7eb99aff492eaeb10a0
1 parent
c6b4f4fa
商品详情收藏空对象处理
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
public/js/product/detail/page-render.js
public/js/product/detail/page-render.js
View file @
bf303d2
...
...
@@ -127,7 +127,7 @@ function render(data) {
$
(
'#limitProductCode'
).
val
(
data
.
cartInfo
.
limitProductCode
).
removeClass
(
dbClass
);
}
}
if
(
data
.
isCollect
)
{
if
(
data
.
isCollect
===
true
)
{
$
(
'#likeBtn'
).
addClass
(
'liked'
);
}
if
(
data
.
tickets
)
{
...
...
Please
register
or
login
to post a comment