fix: 插件页面加载加 ?t= 缓存破坏 + app.js v0706
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user