From 5c3f0ab2f33b49609a0d3487d8648baab2f52f7e Mon Sep 17 00:00:00 2001 From: kele <1184860403@qq.com> Date: Thu, 15 Jun 2023 10:14:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E6=83=A0=E5=88=B8=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=9A=82=E6=97=A0=E5=95=86=E5=93=81=E5=8F=AF=E7=94=A8?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/coupon/detail.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/coupon/detail.vue b/pages/coupon/detail.vue index 3512b27a..4052228d 100644 --- a/pages/coupon/detail.vue +++ b/pages/coupon/detail.vue @@ -129,7 +129,7 @@ @tap="loadmore" /> { state.tabMaps.push({ name: i.name, value: i.id }); }); - state.pagination = pagination - getGoodsList(state.tabMaps[0].value); + state.pagination = pagination; + if (state.list.use_scope == 'category') { + getGoodsList(state.tabMaps[0].value); + } } // 加载更多 function loadmore() {