保留新版关店入口并在页面跳转前核对原始写入回执

This commit is contained in:
黄健铭 committed 2026-12-05 21:51:56 -08:00
1 parent 42395de23a
commit 81b1954b4c
4 files changed
+34 -9

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@
if (leaving) return;
leaving = true;
document.documentElement.style.visibility = 'hidden';
location.replace(location.pathname.startsWith('/next/') ? '/next/' : '/');
const next = location.pathname === '/next' || location.pathname.startsWith('/next/');
location.replace(next ? '/next/' : '/');
}
function warn() {
if (document.getElementById('closing-warning')) return;