mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 19:06:14 -08:00
🐞 fix: 不可使用顶级 await
This commit is contained in:
1 parent
705c34623c
commit
97e8cbb9ed
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user