From 0de847323dd9c559334ae7a0c6b61fb7b501b976 Mon Sep 17 00:00:00 2001 From: Praveen Bishnoi Date: Tue, 13 Oct 2026 17:20:33 +0530 Subject: [PATCH] =?UTF-8?q?fix(index):=20=E4=BF=AE=E5=A4=8D=E8=B7=A8?= =?UTF-8?q?=E6=9D=A1=E7=9B=AE=E8=B7=B3=E8=BD=AC=E6=9C=AA=E5=BD=BB=E5=BA=95?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=20dispute=20=E4=B8=8E=20todo=20=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 gotoItem() 中,当目标卡片因当前筛选被隐藏时,原代码仅清空了关键词 q 与维度筛选 DIMS,遗漏了 state.dispute 与 state.todo。对齐 init() 与 reset() 逻辑,确保跳转至非争议/待核实条目时目标卡片能够正常解除隐藏并精准定位。 --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 74da408..55ccd92 100644 --- a/index.html +++ b/index.html @@ -972,6 +972,7 @@ function gotoItem(key, fromId){ if (!el) return; if (!el.offsetParent){ // 目标被筛选藏起来了,先把筛选清掉再跳 state.q = ''; for (const d of DIMS) state[d].clear(); + state.dispute = false; state.todo = false; syncControls(); apply(); writeUrl(); } // 把「从哪跳的」写进当前这条历史记录,再推一条新的,这样浏览器后退键和鼠标侧键