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
83baf2fdc7
commit
c0dc9a493d
|
@ -36,7 +36,7 @@ const router = createRouter({
|
||||||
app.use(router)
|
app.use(router)
|
||||||
app.use(createPinia())
|
app.use(createPinia())
|
||||||
app.use(i18n, { useScope: 'global' })
|
app.use(i18n, { useScope: 'global' })
|
||||||
await loadLanguageAsync(localStorage.getItem('lang') || 'en')
|
loadLanguageAsync(localStorage.getItem('lang') || 'en')
|
||||||
|
|
||||||
app.use(PrimeVue)
|
app.use(PrimeVue)
|
||||||
app.use(ToastService)
|
app.use(ToastService)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user