...
|
...
|
@@ -231,12 +231,18 @@ const _processDetailData = (result, params) => { |
|
|
});
|
|
|
|
|
|
if (params.id === 1 && !params.keywords) {
|
|
|
let page = pager(_.get(result, '[3].data.page_total', 0), {
|
|
|
id: params.id,
|
|
|
page: params.page
|
|
|
});
|
|
|
|
|
|
contData = {
|
|
|
isShowMenu: _processCountLength(data.faqs),
|
|
|
id: 1,
|
|
|
commonProblem: true,
|
|
|
faqs: data.faqs,
|
|
|
allQa: _.get(result, '[3].data', [])
|
|
|
allQa: _.get(result, '[3].data.list', []),
|
|
|
footPager: page
|
|
|
};
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -309,7 +315,7 @@ const detailData = (params) => { |
|
|
];
|
|
|
|
|
|
if (params.id === 1 && !params.keywords) {
|
|
|
promiseData.push(helpApi.allQA());
|
|
|
promiseData.push(helpApi.allQA(params.page));
|
|
|
}
|
|
|
|
|
|
return Promise.all(promiseData).then(result => {
|
...
|
...
|
|