Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
毕凯
9 years ago
Commit
d6328e4ed09a3cbf99eef26b4a168d9cdf97cc1f
1 parent
6ca09cae
添加到购物车 模板对应数据结构更新
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 @
d6328e4
...
...
@@ -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