docs: Update i18n.zh-CN.md (#48138)

add two lines for import dayjs i18n.
that's an explain for date-picker's i18n wasn't effective

Signed-off-by: zhuxq <46339071+zxq08@users.noreply.github.com>
This commit is contained in:
zhuxq 2024-03-28 11:25:38 +08:00 committed by GitHub
parent 96f0ec60c5
commit bc2c1e15b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,8 @@ antd 提供了一个 React 组件 [ConfigProvider](/components/config-provider-c
```jsx
import zhCN from 'antd/locale/zh_CN';
// for date-picker i18n
import 'dayjs/locale/zh-cn';
return (
<ConfigProvider locale={zhCN}>