feat: 添加确保渲染完成的函数并优化加载背景移除逻辑

This commit is contained in:
jxxghp
2025-01-26 08:42:09 +08:00
parent a3ecad3436
commit f49cafc0cc
3 changed files with 14 additions and 4 deletions

View File

@@ -17,7 +17,6 @@ import { PerfectScrollbarPlugin } from 'vue3-perfect-scrollbar'
import { CronVuetify } from '@vue-js-cron/vuetify'
// 4. 工具函数和其他辅助模块
import { removeEl } from './@core/utils/dom'
import { fetchGlobalSettings } from './api'
import { isPWA } from './@core/utils/navigator'
@@ -114,5 +113,4 @@ initializeApp().then(() => {
},
})
.mount('#app')
.$nextTick(() => removeEl('#loading-bg'))
})