mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-29 11:31:35 +08:00
feat(index): 添加页面加载超时提示,修改默认主题设置为跟随系统
fix(service-worker): 优化清理运行时缓存逻辑
This commit is contained in:
@@ -18,8 +18,8 @@ const needsUpdate = computed(() => {
|
||||
*/
|
||||
export const reloadWithTimestamp = (): void => {
|
||||
const url = new URL(window.location.href)
|
||||
url.searchParams.set('t', Date.now().toString())
|
||||
window.location.href = url.toString()
|
||||
url.searchParams.set('_t', Date.now().toString())
|
||||
window.location.replace(url.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user