Skip to content

Commit 94d2515

Browse files
committed
docs: update api doc
1 parent 5ff56d0 commit 94d2515

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

components/date-picker/index.en-US.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker, WeekPicke
108108

109109
| Property | Description | Type | Default |
110110
| -------- | ----------- | ---- | ------- |
111-
| defaultValue | to set default date | \[[moment](http://momentjs.com/), [moment](http://momentjs.com/)] | - |
112-
| defaultPickerValue | to set default picker date | [moment](http://momentjs.com/) | - |
111+
| defaultValue | to set default date | [moment](http://momentjs.com/)\[] | - |
112+
| defaultPickerValue | to set default picker date | [moment](http://momentjs.com/)\[] | - |
113113
| disabledTime | to specify the time that cannot be selected | function(dates: [moment, moment], partial: `'start'|'end'`) | - |
114114
| format | to set the date format | string | "YYYY-MM-DD HH:mm:ss" |
115115
| ranges | preseted ranges for quick selection | { \[range: string]: [moment](http://momentjs.com/)\[] } \| { \[range: string]: () => [moment](http://momentjs.com/)\[] } | - |

components/date-picker/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ moment.locale('zh-cn');
111111
| 参数 | 说明 | 类型 | 默认值 |
112112
| --- | --- | --- | --- |
113113
| defaultValue | 默认日期 | [moment](http://momentjs.com/)\[] ||
114-
| defaultPickerValue | 默认面板日期 | [moment](http://momentjs.com/) ||
114+
| defaultPickerValue | 默认面板日期 | [moment](http://momentjs.com/)\[] ||
115115
| disabledTime | 不可选择的时间 | function(dates: [moment, moment], partial: `'start'|'end'`) ||
116116
| format | 展示的日期格式 | string | "YYYY-MM-DD HH:mm:ss" |
117117
| ranges       | 预设时间范围快捷选择 | { \[range: string]: [moment](http://momentjs.com/)\[] } \| { \[range: string]: () => [moment](http://momentjs.com/)\[] } ||

components/drawer/index.en-US.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
| Property | Description | Type | Default |
44
| -------- | ----------- | ---- | ------- |
5-
| Props | Description | Type | Default |
65
| --- | --- | --- | --- |
76
| closable | Whether a close (x) button is visible on top right of the Drawer dialog or not. | boolean | true |
87
| destroyOnClose | Whether to unmount child components on closing drawer or not. | boolean | false |

0 commit comments

Comments
 (0)