🔨 优化页面加载逻辑.

This commit is contained in:
lijiahangmax
2025-07-03 00:01:41 +08:00
parent 0b4e42ee89
commit 6fa2d65e18
8 changed files with 41 additions and 19 deletions

View File

@@ -30,7 +30,7 @@ const checkForVersionUpdate = (serverVersion: string) => {
return;
}
// 提示用户更新
if (window.confirm('检测到新版本, 是否刷新页面以获取最新内容?')) {
if (window.confirm('检测到新版本, 请强制刷新页面以获取最新内容!')) {
window.location.reload();
}
// 更新 localStorage 记录