diff --git a/arco-design-pro-vite/src/locale/index.ts b/arco-design-pro-vite/src/locale/index.ts index bd241b2..68349ce 100644 --- a/arco-design-pro-vite/src/locale/index.ts +++ b/arco-design-pro-vite/src/locale/index.ts @@ -11,6 +11,7 @@ const defaultLocale = localStorage.getItem('arco-locale') || 'zh-CN'; const i18n = createI18n({ locale: defaultLocale, fallbackLocale: 'en-US', + legacy: false, allowComposition: true, messages: { 'en-US': en,