From 173d2fa17d06d8ca2a13b062307a62711f3cb661 Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Mon, 4 Sep 2023 20:12:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=95=86=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/supply_chains/supply_chains.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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) }) }