Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

全局配置国际化,为什么日期组件的内容国际化不生效, #636

Open
t1z004 opened this issue May 20, 2023 · 1 comment

Comments

@t1z004
Copy link

t1z004 commented May 20, 2023

// 全局国际化的配置
import { ConfigProvider, } from 'antd'
import 'moment/locale/zh-cn.js' ====》yarn add moment
import zhCN from 'antd/locale/zh_CN.js'

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(






@t1z004
Copy link
Author

t1z004 commented May 20, 2023

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant