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
zhangxiaoru
9 years ago
Commit
a44a5158dd0de61b579082637f2833147e9a42b9
1 parent
fa1010ab
editorial
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
apps/editorial/models/editorial.js
apps/editorial/models/editorial.js
View file @
a44a515
...
...
@@ -246,6 +246,7 @@ const _getRelatedData = (idList) => {
const
_processContentData
=
(
list
)
=>
{
list
=
list
||
[];
list
=
camelCase
(
list
);
// console.log(list)
let
contentData
=
{
...
...
@@ -285,7 +286,7 @@ const _processContentData = (list) => {
let
idList
=
''
;
let
recoLength
=
''
;
let
related
=
{
relatedReco
:
[],
relatedGroup
:
[]
...
...
@@ -366,7 +367,7 @@ const _processContentData = (list) => {
return
null
;
}
else
{
return
related
;
}
}
}).
then
((
result
)
=>
{
...
...
Please
register
or
login
to post a comment