Closed xiaoweiSun closed 2 years ago
import { DatePicker, ConfigProvider } from 'antd'; import 'moment/locale/zh-cn'; import locale from 'antd/lib/locale/zh_CN'; import moment from 'moment'; moment.locale('zh-cn', { week: { dow: 3 } }); <ConfigProvider locale={locale}> <DatePicker /> </ConfigProvider>
做全局的配置没有任何作用
做全局的配置没有任何作用