修复了关于与插件的语言

This commit is contained in:
2020-10-31 14:47:50 +08:00
parent 61f471600e
commit 547cab2ac0
4 changed files with 72 additions and 17 deletions

View File

@@ -26,6 +26,7 @@ const i18nSymbol = Symbol();
export function provideI18n(i18nConfig: Config) {
const i18n = createI18n(i18nConfig);
provide(i18nSymbol, i18n);
return i18n;
}
export function useI18n() {