fix: switching language does not load the translation of the component correctly (#4205)

closes #4191
This commit is contained in:
Li Kui
2024-08-21 10:06:06 +08:00
committed by GitHub
parent fab92ee7e1
commit cd652941cd
5 changed files with 4 additions and 11 deletions

View File

@@ -91,4 +91,4 @@ async function setupI18n(app: App, options: LocaleSetupOptions = {}) {
});
}
export { $t, elementLocale, loadMessages, setupI18n };
export { $t, elementLocale, setupI18n };