perf: 缩短跳转后的关闭延迟以消除卡顿感

This commit is contained in:
jason
2026-03-04 00:30:51 +08:00
parent 67a80b8d73
commit 4ae8a67790

View File

@@ -532,7 +532,7 @@ document.addEventListener('DOMContentLoaded', () => {
// 提供短暂的“清理中...”视觉反馈后关闭插件
setTimeout(() => {
window.close();
}, 1500); // 保持 1500ms 反馈后关闭,也可改为更短如 200ms为保持原逻辑体验暂设 1500ms
}, 100); // 极短延迟后关闭,消除卡顿感
});
}
}