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

This commit is contained in:
奔跑的面条 2023-02-17 18:15:00 +08:00
parent 62c85cc0cf
commit 2de274b95d
2 changed files with 4 additions and 3 deletions

View File

@ -53,6 +53,7 @@ async function appInit() {
window['$vue'] = app window['$vue'] = app
} }
await appInit() appInit().then(() => {
initFunction()
})
await initFunction()

View File

@ -17,7 +17,7 @@
} }
@mixin deep() { @mixin deep() {
:deep() { :deep(*) {
@content; @content;
} }
} }