docs(components): [date-picker] fix panel-change param type error (#15009)

This commit is contained in:
wzc520pyfm 2023-12-03 19:56:07 +08:00 committed by GitHub
parent 5e60441616
commit 980ea89714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,12 +180,12 @@ Note, date time locale (month name, first day of the week ...) are also configur
### Events
| Name | Description | Type |
| --------------- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| --------------- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| change | triggers when user confirms the value | ^[Function]`(val: typeof v-model) => void` |
| blur | triggers when Input blurs | ^[Function]`(e: FocusEvent) => void` |
| focus | triggers when Input focuses | ^[Function]`(e: FocusEvent) => void` |
| calendar-change | triggers when the calendar selected date is changed. | ^[Function]`(val: [Date, null \| Date]) => void` |
| panel-change | triggers when the navigation button click. | ^[Function]`(date: [Dayjs, Dayjs], mode: 'month' \| 'year', view: unknown) => void` |
| panel-change | triggers when the navigation button click. | ^[Function]`(date: Date \| [Date, Date], mode: 'month' \| 'year', view?: string) => void` |
| visible-change | triggers when the DatePicker's dropdown appears/disappears | ^[Function]`(visibility: boolean) => void` |
### Slots