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
Email Patches
Plain Diff
Browse Files
Authored by
hf
2015-12-31 00:45:20 +0800
Commit
465fab96e9b8f627a7382e1cc3e58ebc167ea1fc
1 parent
ce9d0f98
code review by hf: do fixes bug to use yoho coin
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
static/js/cart/order-info.js
static/js/cart/order-info.js
View file @
465fab9
...
...
@@ -30,6 +30,9 @@ function init() {
// info 必须是 JSON 字符串
try
{
info
=
JSON
.
parse
(
info
);
// 2015/12/31 hf: fixes bug to 购物车页面调用该JS, 会导致有YOHO币,值却没有传给服务端. 因此需要再设置一下
info
[
'yohoCoin'
]
=
$
(
'.coin'
).
data
(
'yoho-coin'
)
||
0
;
}
catch
(
e
)
{
init
();
}
...
...
Please
register
or
login
to post a comment