Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
周少峰
2017-02-28 18:51:27 +0800
Commit
a7f87fa47f01d5c0aea20f00d1a3b12aa8b9af55
2 parents
b188c15e
fde89d1c
Merge branch 'release/5.4.1' of git.yoho.cn:fe/yohobuy-node into release/5.4.1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/cart/models/cart-helper.js
apps/cart/models/cart-helper.js
View file @
a7f87fa
...
...
@@ -614,7 +614,7 @@ const formatCart = (cartDataRet, uid, shoppingKey, cartDelList) => {
if
(
_
.
get
(
result
,
'ordinaryCart.promotionInfos'
))
{
result
.
ordinaryCart
.
promotionInfos
=
_
.
filter
(
result
.
ordinaryCart
.
promotionInfos
,
pinfo
=>
{
return
pinfo
&&
pinfo
.
tag
&&
pinfo
.
promotionId
>
0
;
return
pinfo
&&
pinfo
.
tag
&&
Number
(
pinfo
.
promotionId
)
===
0
;
});
}
...
...
Please
register
or
login
to post a comment