You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# 日期格式
|
|
|
|
|
|
|
|
|
|
- description: 自定义您需要的日期定义格式:yyyy/MM/dd
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
````jsx
|
|
|
|
|
var Datepicker = antd.datepicker;
|
|
|
|
|
|
|
|
|
|
React.render(
|
|
|
|
|
<Datepicker format="yyyy/MM/dd" />
|
|
|
|
|
, document.getElementById('components-datepicker-demo-formatter'));
|
|
|
|
|
````
|