Fix i18n styles (#8)

This commit is contained in:
AceDataCloud committed 2024-03-24 19:06:00 +08:00
1 parent 7b292b104c
commit c300500135
23 files changed
+3222 -432

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ const router = createRouter({
});
router.beforeEach(async (to, from, next) => {
const locale = store.getters.locale || DEFAULT_LOCALE;
const locale = store.state.locale || DEFAULT_LOCALE;
await setI18nLanguage(locale);
return next();
});