fix loading animation

This commit is contained in:
tangly1024.com
2023-06-12 11:33:41 +08:00
parent a615307a56
commit 980f02260c

View File

@@ -31,7 +31,7 @@ export function GlobalContextProvider({ children }) {
if (isBrowser()) {
// 监听用户刷新页面
const handleBeforeUnload = (event) => {
setOnReading(true)
// setOnReading(true)
}
// 监听页面元素加载完
setOnReading(false)