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
8b8b1f70e09399817f47e356e1d9ab8b75a731ea
1 parent
26f885c6
payment cookie add path /cart
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
static/js/cart/order-info.js
static/js/cart/order-info.js
View file @
8b8b1f7
...
...
@@ -28,7 +28,7 @@ function init() {
msg
:
null
,
cartType
:
'ordinary'
};
window
.
setCookie
(
'order-info'
,
JSON
.
stringify
(
info
));
window
.
setCookie
(
'order-info'
,
JSON
.
stringify
(
info
)
,
{
path
:
'/cart'
}
);
}
// info 必须是 JSON 字符串
...
...
@@ -48,5 +48,5 @@ exports.orderInfo = function(key, value) {
return
info
[
key
];
}
info
[
key
]
=
value
;
window
.
setCookie
(
'order-info'
,
JSON
.
stringify
(
info
));
window
.
setCookie
(
'order-info'
,
JSON
.
stringify
(
info
)
,
{
path
:
'/cart'
}
);
};
...
...
Please
register
or
login
to post a comment