From 5c518cb4574e2ed6b656b313fb76161d304a346d Mon Sep 17 00:00:00 2001 From: fengpu <18691763612@163.com> Date: Mon, 20 Jul 2026 15:26:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E9=A1=B5=E7=82=B9=E5=87=BB=E9=A1=B5=E9=9D=A2=E6=80=BB=E8=A7=88?= =?UTF-8?q?=E5=90=8C=E6=97=B6=E6=89=93=E5=BC=80=E4=B8=A4=E4=B8=AAtab?= =?UTF-8?q?=E7=9A=84=E5=9B=9E=E5=BD=92=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 8a96ead 提交重构 popover 关闭逻辑时误删
上的 onclick="event.stopPropagation()",导致 popover 内的点击事件冒泡到父级 module-card 触发 window.open 打开模块入口页,与 默认跳转叠加, 造成点击"页面总览"等列表项时同时打开两个 tab。恢复 stopPropagation 即可解决,且与新版本的 document click 监听器(靠 closest 判断)兼容。 Co-Authored-By: Claude Opus 4.7 --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 3bbd452..a75f84a 100644 --- a/index.html +++ b/index.html @@ -1103,7 +1103,7 @@ function cardHTML(mod, uid) { const icon = p.dialog ? ICONS.dialog : ICONS.page; return `${icon}${p.label}`; }).join(''); - pageCountHtml = `${mod.pages.length} 页
页面列表
${popItems}
`; + pageCountHtml = `${mod.pages.length} 页
页面列表
${popItems}
`; } /* 底部行占位:无内容时保持高度一致 */