...
|
...
|
@@ -243,6 +243,7 @@ const _getRelatedData = (idList) => { |
|
|
const _processContentData = (list) => {
|
|
|
list = list || [];
|
|
|
list = camelCase(list);
|
|
|
// console.log(list)
|
|
|
|
|
|
let contentData = {
|
|
|
contents: []
|
...
|
...
|
@@ -252,6 +253,7 @@ const _processContentData = (list) => { |
|
|
|
|
|
if (value.singleImage) {
|
|
|
_.forEach(value.singleImage.data, function(data, index) {
|
|
|
console.log(data)
|
|
|
if (index === 0) {
|
|
|
contentData = _.assign(contentData, {
|
|
|
shareImg: data.src
|
...
|
...
|
|