fix: 修复一键打开渠道出现无关标签

This commit is contained in:
DEV_DSW
2026-03-19 11:14:52 +08:00
parent c4a0e4f9a4
commit 8902e59c2a
5 changed files with 150 additions and 34 deletions

View File

@@ -109,7 +109,7 @@ const isBlankLikePage = (url) => {
const pagesAfter = await context.pages();
for (const p of pagesAfter) {
if (!usedPages.has(p) && isBlankLikePage(p.url())) {
if (!usedPages.has(p)) {
try {
await p.close();
} catch {}