Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
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
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
6 years ago
Commit
f6f3dec8f5c082b29611181783f67a1bdfa44183
1 parent
a37d19bf
fix error
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
apps/store/article/guangProcess.js
apps/store/article/guangProcess.js
View file @
f6f3dec
...
...
@@ -160,18 +160,18 @@ export function processArticleDetail(articleContent) {
// 普通商品
forEach
(
goodsData
,
(
item
)
=>
{
allgoods
.
push
(
item
.
id
);
allgoods
.
push
(
get
(
item
,
'productId'
,
0
)
);
});
// 全球购商品
forEach
(
goodsDataGlobal
,
(
item
)
=>
{
allgoods
.
push
(
item
.
id
);
allgoods
.
push
(
get
(
item
,
'productId'
,
0
)
);
goodsData
.
push
(
item
);
});
// 限定商品
forEach
(
goodsDataLimit
,
(
item
)
=>
{
allgoods
.
push
(
item
.
id
);
allgoods
.
push
(
get
(
item
,
'productId'
,
0
)
);
goodsData
.
push
(
item
);
});
...
...
@@ -295,8 +295,7 @@ function processProductList(list, favsList) {
product
.
id
=
product
.
product_id
;
product
.
productType
=
1
;
product
.
favorite
=
fav
.
favorite
||
false
;
product
.
favorite
=
get
(
fav
,
'favorite'
,
false
);
/**
* 全球购商品标记
...
...
Please
register
or
login
to post a comment