diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue index 58a64d5..b6a5c19 100644 --- a/pages/supply_chains/supply_chains.vue +++ b/pages/supply_chains/supply_chains.vue @@ -242,11 +242,7 @@ export default { page: 1, limit: 6 }, - where1: { - - page: 1, - limit: 10 - }, + currentItemId: 69, // 默认获取 社区的数据 0 表示推荐 || 69 社区 keyword: '', location: '', @@ -294,6 +290,7 @@ export default { if (this.status == 'nomore') return; this.status = 'loading'; this.where.page = ++this.where.page; + this.list() }, mounted() { @@ -351,7 +348,7 @@ export default { this.cateGoods.push(...res.data.list) }) } else { - getProductHot(1, 10).then(res => { + getProductHot(this.where.page,this.where.limit).then(res => { this.cateGoods.push(...res.data.list) }) }