fix(client): ローカリゼーション更新時にリロードが繰り返されることがあるのを修正
This commit is contained in:
@@ -3,3 +3,7 @@ import { locale } from '@/config';
|
||||
import { I18n } from '@/scripts/i18n';
|
||||
|
||||
export const i18n = markRaw(new I18n(locale));
|
||||
|
||||
export function updateI18n(newLocale) {
|
||||
i18n.ts = newLocale;
|
||||
}
|
||||
|
Reference in New Issue
Block a user