Commit 7b0c1f14 authored by 王建威's avatar 王建威

bugfix

parent f29672c7
......@@ -80,10 +80,10 @@
list = goods_list;
} else if (goods_data_type === 1) {
let cgl = cate_goods_list || [];
list = additional_goods_show ? cgl.concat(goods_list).slice(0,goods_num) : cgl
list = additional_goods_show ? cgl.concat(goods_list || []).slice(0,goods_num) : cgl
} else {
let bgl = buy_goods_list || [];
list = additional_goods_show ? bgl.concat(goods_list).slice(0,goods_num) : bgl
list = additional_goods_show ? bgl.concat(goods_list || []).slice(0,goods_num) : bgl
}
const space = listType - list.length % listType;
if(space !== listType) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment