fix: 插件页面加载加 ?t= 缓存破坏 + app.js v0706

This commit is contained in:
qinglong
2026-06-14 10:54:39 +08:00
parent 779c78ad92
commit 29e7b2be41
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -79,6 +79,6 @@
<script src="./static/js/chart.js?v=0603"></script>
<!-- 🟢 2. 再加载主逻辑 -->
<script src="./static/js/app.js?v=0705"></script>
<script src="./static/js/app.js?v=0706"></script>
</body>
</html>
+1 -1
View File
@@ -167,7 +167,7 @@ async function loadPluginPage(pluginName) {
if(!_pluginPagesCache) await fetchPluginPages();
try {
var resp = await fetch('/plugin/'+pluginName, {credentials:'include'});
var resp = await fetch('/plugin/'+pluginName+'?t='+Date.now(), {credentials:'include'});
if(!resp.ok) throw new Error(resp.status);
var html = await resp.text();