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
yyq
2017-12-04 10:52:40 +0800
Commit
cc0d6e55a563dc5179af008bd3b7be355d1b2957
2 parents
d74acaeb
3b59755f
Merge branch 'feature/pieceGoods' into release/6.3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
apps/cart/models/cart-service.js
apps/cart/models/cart-service.js
View file @
cc0d6e5
...
...
@@ -801,6 +801,7 @@ module.exports = class extends global.yoho.BaseModel {
if
(
!
params
.
price
)
{
tabs
=
_
.
get
(
yield
cartApi
.
getTogetherProductPriceTabAsync
(),
'data'
,
[]);
_
.
set
(
tabs
,
'[0].active'
,
true
);
}
let
price
=
params
.
price
||
_
.
get
(
tabs
,
'[0].price'
,
'0,300'
);
...
...
Please
register
or
login
to post a comment