update
This commit is contained in:
1 parent
0690285147
commit
5618cd2738
154 files changed
+5021
-3161
No files matched your search
@@ -9,6 +9,11 @@ import App from './App.tsx'
|
||||
// 首屏前应用主题,避免闪烁 // Logan.Li
|
||||
applyThemeToDocument(getInitialTheme())
|
||||
|
||||
window.addEventListener('vite:preloadError', () => {
|
||||
// 任一左侧子菜单懒加载资源在发版后失效时,统一整页刷新获取最新 index/chunk。 // Logan.Li
|
||||
window.location.reload()
|
||||
})
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
|
||||
Reference in new issue
Block a user