Commit f564f88f authored by 崔佳豪's avatar 崔佳豪

fix: 汉化修改

parent 85715df4
Pipeline #47222 passed with stages
in 2 minutes 45 seconds
import 'moment/locale/zh-cn';
// import 'moment/locale/zh-cn';
import 'moment/dist/locale/zh-cn';
import React from 'react';
......@@ -35,7 +36,7 @@ export const LocaleContainer = props => {
<ConfigProvider
direction={direcition}
locale={
(localeInfo[locale] && localeInfo[locale].antd) || defaultAntdLocale
(localeInfo[locale] && localeInfo[locale].antd.default) || defaultAntdLocale
}
>
<RawIntlProvider value={intl}>{props.children}</RawIntlProvider>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment