From b899ec58f7f6790b06435c5914ceda004156b8a9 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: Fri, 16 Jan 2026 11:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E7=82=B9=E5=87=BB=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E5=88=86=E7=B1=BB=E6=97=B6=E9=87=8D=E7=BD=AE=E9=AB=98?= =?UTF-8?q?=E7=BA=A7=E7=AD=9B=E9=80=89=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/index/index.js b/pages/index/index.js index 9be2045..cf048d1 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -1959,6 +1959,11 @@ Page({ searchKeyword: '', // 清除搜索关键词,筛选框优先级更高 }); + // 如果选择的是"全部"分类,则重置高级筛选条件 + if (category === '全部') { + this.resetAdvancedFilter(); + } + // 防抖处理:取消之前的定时器 if (this.data.filterDebounceTimer) { clearTimeout(this.data.filterDebounceTimer);