mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
fix(build): ensure app is mounted after global settings are loaded
This commit is contained in:
@@ -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'))
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user