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 app
.component('VAceEditor', VAceEditor) .component('VAceEditor', VAceEditor)
.component('VApexChart', VueApexCharts) .component('VApexChart', VueApexCharts)
@@ -90,3 +91,4 @@ app
.use(VueApexCharts) .use(VueApexCharts)
.mount('#app') .mount('#app')
.$nextTick(() => removeEl('#loading-bg')) .$nextTick(() => removeEl('#loading-bg'))
})