fix: 修复一键打开渠道出现无关标签
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user