...
|
...
|
@@ -254,9 +254,11 @@ const getSearchData = (params) => { |
|
|
!params.shop_id && !params.brand && !params.isApp) {
|
|
|
|
|
|
for (let i = 0; i < result.data.rec_shop_list.length; i++) {
|
|
|
result.data.rec_shop_list[i].is_shop = true;
|
|
|
newList.list.splice(parseInt(result.data.rec_shop_list[i].insert_index, 10), 0,
|
|
|
result.data.rec_shop_list[i]);
|
|
|
if (parseInt(result.data.rec_shop_list[i].show_type, 10) === 1) {
|
|
|
result.data.rec_shop_list[i].is_shop = true;
|
|
|
newList.list.splice(parseInt(result.data.rec_shop_list[i].insert_index, 10) - 1, 0,
|
|
|
result.data.rec_shop_list[i]);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|