Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
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
Plain Diff
Browse Files
Authored by
Rock Zhang
2015-12-16 21:17:42 +0800
Commit
2794cdad3fd4d47f2c61b3d59de45056a1d1823b
2 parents
c31f6a78
d6328e4e
Merge branch 'feature/cart' of git.dev.yoho.cn:web/yohobuy into feature/cart
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
framework
static/js/cart/gift-advance.js
framework
@
75bbc3b0
Subproject commit
e9d066dd88a8e7e37103021c427a205a5cfcdcec
Subproject commit
75bbc3b075de19f239532f60c5995d06c5f814e2
...
...
static/js/cart/gift-advance.js
View file @
2794cda
...
...
@@ -35,12 +35,13 @@ function getProductInfo(skn, promotionId) {
tip
.
show
(
'网络错误'
);
return
;
}
console
.
log
(
res
);
if
(
!
panelTmpl
)
{
return
;
}
if
(
res
.
code
===
200
)
{
$chosePanel
.
html
(
panelTmpl
(
res
.
data
));
$chosePanel
.
html
(
panelTmpl
({
cartInfo
:
res
.
data
}));
chosePanel
.
show
();
}
else
{
tip
.
show
(
res
.
message
||
'网络错误'
);
...
...
Please
register
or
login
to post a comment