This commit is contained in:
jxxghp
2023-09-20 06:56:25 +08:00
parent ab293edf4c
commit f335b4e436
2 changed files with 7 additions and 2 deletions

View File

@@ -28,4 +28,9 @@ app
})
.use(VuetifyUseDialog)
.mount('#app')
.$nextTick(() => removeEl('#loading-bg'))
// 小屏幕下1s后移除loading
if (window.innerWidth < 1024)
setTimeout(() => removeEl('#loading-bg'), 1000)
else
removeEl('#loading-bg')