mport -> import

This commit is contained in:
付引 2018-07-15 10:14:35 +08:00 committed by 偏右
parent 1f15df4f14
commit 31b2517261

View File

@ -37,7 +37,7 @@ import locale from 'antd/lib/date-picker/locale/zh_CN';
```jsx
// 默认语言为 en-US如果你需要设置其他语言推荐在入口文件全局设置 locale
import moment from 'moment';
mport 'moment/locale/zh-cn';
import 'moment/locale/zh-cn';
<DatePicker defaultValue={moment('2015-01-01', 'YYYY-MM-DD')} />
```