From 980ea897149f8a9a996690c11c8ca5880ee621ea Mon Sep 17 00:00:00 2001 From: wzc520pyfm <69044080+wzc520pyfm@users.noreply.github.com> Date: Sun, 3 Dec 2023 19:56:07 +0800 Subject: [PATCH] docs(components): [date-picker] fix panel-change param type error (#15009) --- docs/en-US/component/date-picker.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/en-US/component/date-picker.md b/docs/en-US/component/date-picker.md index fc6e8d3c48..cb63856a8c 100644 --- a/docs/en-US/component/date-picker.md +++ b/docs/en-US/component/date-picker.md @@ -179,14 +179,14 @@ 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` | -| visible-change | triggers when the DatePicker's dropdown appears/disappears | ^[Function]`(visibility: boolean) => void` | +| 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: Date \| [Date, Date], mode: 'month' \| 'year', view?: string) => void` | +| visible-change | triggers when the DatePicker's dropdown appears/disappears | ^[Function]`(visibility: boolean) => void` | ### Slots