From 89d1361ab683e08b23b121d7b05c2cdb50a946a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?= <15778543+xufeiyang6017@user.noreply.gitee.com> Date: Sat, 3 Jan 2026 16:42:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=AD=9B=E9=80=89=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=8C=E4=BF=AE=E5=A4=8DloadGoods=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E9=AA=A8=E6=9E=B6=E5=B1=8F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index f08f7af..c04054b 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -895,9 +895,10 @@ Page({ return; } + // 筛选时不显示骨架屏 if (isLoadMore) { this.setData({ loadingMore: true }) - } else { + } else if (!forceRefresh) { // 只有非筛选的首次加载才显示骨架屏 this.setData({ isLoading: true }) } @@ -1424,7 +1425,7 @@ Page({ goods: [], filteredGoods: [], isLoading: false, // 筛选时不显示骨架屏 - isRefreshing: true, // 添加下拉刷新状态 + isRefreshing: false, // 筛选时不显示下拉刷新状态 // 清除所有缓存以获取最新数据 categoryQueryCache: {}, lastDataTimestamp: 0,