doc: add DatePicker default-value

pull/4417/head^2
wacky6.AriesMBP 2017-04-14 23:40:54 +08:00 committed by 杨奕
parent 3fe9acf294
commit 828d591d40
2 changed files with 2 additions and 0 deletions

View File

@ -262,6 +262,7 @@ Picking a date range is supported.
| popper-class | custom class name for DatePicker's dropdown | string | — | — |
| picker-options | additional options, check the table below | object | — | {} |
| range-separator | range separator | string | - | ' - ' |
| default-value | optional default time of the picker | Date | anything accepted by `new Date()` | - |
### Picker Options
| Attribute | Description | Type | Accepted Values | Default |

View File

@ -296,6 +296,7 @@
| popper-class | DatePicker 下拉框的类名 | string | — | — |
|picker-options | 当前时间日期选择器特有的选项参考下表 | object | — | {} |
| range-separator | 选择范围时的分隔符 | string | - | ' - ' |
| default-value | 可选DatePicker打开时默认显示的时间 | Date | 可被new Date()解析 | - |
### Picker Options
| 参数 | 说明 | 类型 | 可选值 | 默认值 |