Authored by zhangxiaoru

插入位置

@@ -256,7 +256,7 @@ const getSearchData = (params) => { @@ -256,7 +256,7 @@ const getSearchData = (params) => {
256 for (let i = 0; i < result.data.rec_shop_list.length; i++) { 256 for (let i = 0; i < result.data.rec_shop_list.length; i++) {
257 if (parseInt(result.data.rec_shop_list[i].show_type, 10) === 1) { 257 if (parseInt(result.data.rec_shop_list[i].show_type, 10) === 1) {
258 result.data.rec_shop_list[i].is_shop = true; 258 result.data.rec_shop_list[i].is_shop = true;
259 - newList.list.splice(parseInt(result.data.rec_shop_list[i].insert_index, 10), 0, 259 + newList.list.splice(parseInt(result.data.rec_shop_list[i].insert_index, 10) - 1, 0,
260 result.data.rec_shop_list[i]); 260 result.data.rec_shop_list[i]);
261 } 261 }
262 } 262 }