fix: 修复脚本依次执行问题

This commit is contained in:
duanshuwen
2026-03-25 22:03:51 +08:00
parent 15139bd606
commit 280abcecbe
12 changed files with 15 additions and 314 deletions

View File

@@ -24,6 +24,7 @@ const isSameOrigin = (currentUrl, targetUrl) => {
const current = normalizeUrl(currentUrl);
const target = normalizeUrl(targetUrl);
if (!current || !target) return false;
return current.origin === target.origin;
};