docs: update calendar doc

pull/383/head
wangxueliang 2019-01-08 14:45:11 +08:00
parent 5c3b77f5c3
commit 981a889098
1 changed files with 1 additions and 2 deletions

View File

@ -26,8 +26,7 @@ customize the progress dot by setting a scoped slot
| defaultValue | The date selected by default | [moment](http://momentjs.com/) | default date |
| disabledDate | Function that specifies the dates that cannot be selected | (currentDate: moment) => boolean | - |
| fullscreen | Whether to display in full-screen | boolean | `true` |
| locale | The calendar's locale | object | [default]
(https://github.com/vueComponent/ant-design-vue/blob/master/components/date-picker/locale/example.json) |
| locale | The calendar's locale | object | [default](https://github.com/vueComponent/ant-design-vue/blob/master/components/date-picker/locale/example.json) |
| mode | The display mode of the calendar | `month` \| `year` | `month` |
| monthCellRender | Customize the display of the month cell by setting a scoped slot, the returned content will be appended to the cell | function(date: moment) | - |
| monthFullCellRender | Customize the display of the month cell by setting a scoped slot, the returned content will override the cell | function(date: moment) | - |