fix: 页面 HTML 加载加 ?t= 缓存破坏 + app.js 版本号 0704→0705

This commit is contained in:
qinglong
2026-06-13 18:49:49 +08:00
parent 9c1a1d40e4
commit 6e0ed23012
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ async function loadPage(pageName) {
if(window[modName] && window[modName].destroy) { try { window[modName].destroy(); } catch(e){} }
try {
var resp = await fetch('./static/pages/'+pageName+'.html');
var resp = await fetch('./static/pages/'+pageName+'.html?t='+Date.now());
if(!resp.ok) throw new Error('404');
var html = await resp.text();