feat: improvement to template

This commit is contained in:
xhayper committed 2022-12-23 23:39:53 +07:00
1 parent 2889ab3ac8
commit 7cbc3ded05
39 files changed
+331 -339

No files matched your search

+2 -2
View File
@@ -85,8 +85,8 @@ function useLoading() {
const { appendLoading, removeLoading } = useLoading()
domReady().then(appendLoading)
window.onmessage = ev => {
window.onmessage = (ev) => {
ev.data.payload === 'removeLoading' && removeLoading()
}
setTimeout(removeLoading, 4999)
setTimeout(removeLoading, 4999)