From 35ba5dcc9f25bd2e492fe0b8bab0227219d256c4 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Tue, 11 Feb 2025 22:40:19 +0800 Subject: [PATCH] disable vue-i18n legacy mode --- src/locales/helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/locales/helpers.ts b/src/locales/helpers.ts index 30069b62..e561715b 100644 --- a/src/locales/helpers.ts +++ b/src/locales/helpers.ts @@ -171,6 +171,7 @@ export interface LocalizedError { export function getI18nOptions(): object { return { + legacy: false, locale: DEFAULT_LANGUAGE, fallbackLocale: DEFAULT_LANGUAGE, formatFallbackMessages: true,