fix(build): ensure app is mounted after global settings are loaded

This commit is contained in:
InfinityPacer
2024-09-02 20:18:37 +08:00
parent 03b14a0fb5
commit 634522d27b
+2
View File
@@ -44,6 +44,7 @@ async function initializeApp() {
}
// 注册全局组件
initializeApp().then(() => {
app
.component('VAceEditor', VAceEditor)
.component('VApexChart', VueApexCharts)
@@ -90,3 +91,4 @@ app
.use(VueApexCharts)
.mount('#app')
.$nextTick(() => removeEl('#loading-bg'))
})