mirror of
https://github.com/EasyTier/EasyTier.git
synced 2024-11-16 11:42:27 +08:00
🐞 fix: 不可使用顶级 await
This commit is contained in:
parent
705c34623c
commit
97e8cbb9ed
|
@ -36,7 +36,7 @@ const router = createRouter({
|
|||
app.use(router)
|
||||
app.use(createPinia())
|
||||
app.use(i18n, { useScope: 'global' })
|
||||
await loadLanguageAsync(localStorage.getItem('lang') || 'en')
|
||||
loadLanguageAsync(localStorage.getItem('lang') || 'en')
|
||||
|
||||
app.use(PrimeVue)
|
||||
app.use(ToastService)
|
||||
|
|
Loading…
Reference in New Issue
Block a user