fix: 解决顶层无法写 await 的问题

This commit is contained in:
奔跑的面条
2023-02-17 18:15:00 +08:00
parent fc58df2148
commit b3bff2ee45
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -53,6 +53,7 @@ async function appInit() {
window['$vue'] = app
}
await appInit()
appInit().then(() => {
initFunction()
})
await initFunction()