Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
郝肖肖
8 years ago
Commit
e458f4f0ff85e6d1eda5a8b3c4f67b5c125fe22d
1 parent
4d9dc686
判断接口返回商品列表包含null的情况
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
utils/product-process.js
utils/product-process.js
View file @
e458f4f
...
...
@@ -91,7 +91,7 @@ exports.processProductList = (list, options) => {
_
.
forEach
(
list
,
(
product
)
=>
{
// 商品信息有问题,则不显示
if
(
!
product
.
productId
||
!
product
.
goodsList
||
product
.
goodsList
.
length
===
0
)
{
if
(
!
product
||
!
product
.
productId
||
!
product
.
goodsList
||
product
.
goodsList
.
length
===
0
)
{
return
;
}
...
...
Please
register
or
login
to post a comment