Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
石坚
9 years ago
Commit
1a02c65e2e1334c98cf5f9b54856e151af86a52d
1 parent
2c60145a
修改灰度咨询500错误
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
apps/editorial/models/editorial.js
apps/editorial/models/editorial.js
View file @
1a02c65
...
...
@@ -219,15 +219,19 @@ const _getRelatedData = (idList) => {
if
(
result
&&
result
.
code
===
200
)
{
_
.
forEach
(
result
.
data
.
product_list
,
function
(
data
)
{
productList
.
push
({
name
:
data
.
product_name
,
price
:
data
.
sales_price
,
productId
:
data
.
product_id
,
cnAlphabet
:
data
.
cn_alphabet
,
productSkn
:
data
.
product_skn
});
if
(
data
){
productList
.
push
({
name
:
data
.
product_name
,
price
:
data
.
sales_price
,
productId
:
data
.
product_id
,
cnAlphabet
:
data
.
cn_alphabet
,
productSkn
:
data
.
product_skn
});
}
});
return
productList
;
...
...
Please
register
or
login
to post a comment