Authored by zhangxiaoru

过滤店铺和品牌

... ... @@ -237,7 +237,6 @@ const getSearchData = (params) => {
let newList = {};
let suggestion = {};
if (result.data.shopList && result.data.shopList.length !== 0) {
newList.brandWay = _processBrandShops(result.data.shopList);
}
... ... @@ -247,7 +246,7 @@ const getSearchData = (params) => {
gender: _coverChannel[params.coverChannel]
});
if (result.data.rec_shop_list && result.data.rec_shop_list.length > 0) {
if (result.data.rec_shop_list && result.data.rec_shop_list.length > 0 && !params.shop_id && !params.brand) {
for (let i = 0; i < result.data.rec_shop_list.length; i++) {
result.data.rec_shop_list[i].is_shop = true;
... ...