...
|
...
|
@@ -856,12 +856,13 @@ const getShopListData = (channel, params, uid) => { |
|
|
|
|
|
return searchApi.getSortList({brand: shopBrandIds}).then(subRes => {
|
|
|
if (subRes.code === 200) {
|
|
|
let groupSort = _.get(subRes, 'data.sort', []);
|
|
|
let groupSort = _.get(subRes, 'data.sort', []),
|
|
|
noPageQs = Object.assign({}, params, {page: 1});
|
|
|
|
|
|
finalResult.leftContent = searchHandler.handleSortData(groupSort, params);
|
|
|
finalResult.leftContent = searchHandler.handleSortData(groupSort, noPageQs);
|
|
|
|
|
|
if (finalResult.allGoods) {
|
|
|
Object.assign(finalResult.allGoods, searchHandler.setShopSort(groupSort, params));
|
|
|
Object.assign(finalResult.allGoods, searchHandler.setShopSort(groupSort, noPageQs));
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|