Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jizai1125 committed Nov 2, 2023
1 parent 121a983 commit e8916ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/date-picker/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ panel.vue
| is-date-disabled | `(current: number, phase: 'start' \| 'end', value: [number, number] \| null) => boolean` | `undefined` | Validator of the date. | |
| is-time-disabled | `(current: number, phase: 'start' \| 'end', value: [number, number]) => { isHourDisabled?: (hour: number) => boolean, isMinuteDisabled?: (minute: number, hour: number \| null) => boolean, isSecondDisabled?: (second: number, minute: number \| null, hour: number \| null) => boolean }` | `undefined` | Validator of the time. `null` in validators means value of picker is empty. | |
| close-on-select | `boolean` | `false` | Whether to close the panel after the user has selected a time range. | |
| separator | `string` | `'to'` | The separator between the start input and the end input. | |
| separator | `string` | internal icon | The separator between the start input and the end input. | |
| start-placeholder | `string` | `'Start Date'` | The prompt information at the beginning of the input. | |
| update-value-on-close | `boolean` | `false` | Whether to update the value on close. | |
| on-update:formatted-value | `(value: [string, string] \| null, timestampValue: [number, number] \| null) => void` | `undefined` | Formatted range changed callback. | 2.24.0 |
Expand All @@ -118,7 +118,7 @@ panel.vue
| format | `string` | `'yyyy-MM-dd HH:mm:ss'` | Format of the input. For detail please see [format](https://date-fns.org/v2.23.0/docs/format). | |
| is-date-disabled | `(current: number, phase: 'start' \| 'end', value: [number, number] \| null) => boolean` | `undefined` | Validator of the date. | |
| is-time-disabled | `(current: number, phase: 'start' \| 'end', value: [number, number]) => { isHourDisabled?: (hour: number) => boolean, isMinuteDisabled?: (minute: number, hour: number \| null) => boolean, isSecondDisabled?: (second: number, minute: number \| null, hour: number \| null) => boolean }` | `undefined` | Validator of the time. `null` in validators means value of picker is empty. | |
| separator | `string` | `'to'` | The separator between the start input and the end input. | |
| separator | `string` | internal icon | The separator between the start input and the end input. | |
| start-placeholder | `string` | `'Start Date and Time'` | The prompt information at the beginning of the input. | |
| time-picker-props | `TimePickerProps \| [TimePickerProps, TimePickerProps]` | `undefined` | Time picker props in the panel. | 2.27.0 |
| update-value-on-close | `boolean` | `false` | Whether to update value on close. | |
Expand All @@ -144,7 +144,7 @@ panel.vue
| end-placeholder | `string` | `'End Month'` | Placeholder at end part of the input. | 2.28.3 |
| format | `string` | `'yyyy-MM-dd'` | Format of the input. For detail please see [format](https://date-fns.org/v2.23.0/docs/format). | 2.28.3 |
| close-on-select | `boolean` | `false` | Whether to close the panel after the user has selected a time range. | 2.28.3 |
| separator | `string` | `'to'` | The separator between the start input and the end input. | 2.28.3 |
| separator | `string` | internal icon | The separator between the start input and the end input. | 2.28.3 |
| start-placeholder | `string` | `'Start Month'` | The prompt information at the beginning of the input. | 2.28.3 |
| update-value-on-close | `boolean` | `false` | Whether to update the value on close. | 2.28.3 |
| on-update:formatted-value | `(value: [string, string] \| null, timestampValue: [number, number] \| null) => void` | `undefined` | Formatted range changed callback. | 2.28.3 |
Expand Down
6 changes: 3 additions & 3 deletions src/date-picker/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ form-debug.vue
| is-date-disabled | `(current: number, phase: 'start' \| 'end', value: [number, number] \| null) => boolean` | `undefined` | 日期禁用的校验函数 | |
| is-time-disabled | `(current: number, phase: 'start' \| 'end', value: [number, number]) => { isHourDisabled?: (hour: number) => boolean, isMinuteDisabled?: (minute: number, hour: number \| null) => boolean, isSecondDisabled?: (second: number, minute: number \| null, hour: number \| null) => boolean }` | `undefined` | 时间禁用的校验函数,校验函数中的 `null` 表示当前没有选中值 | |
| close-on-select | `boolean` | `false` | 用户选择时间范围后是否自动关闭面板 | |
| separator | `string` | `'至'` | start 选框与 end 选框之间的分隔符 | |
| separator | `string` | 内置图标 | start 选框与 end 选框之间的分隔符 | |
| start-placeholder | `string` | `'开始日期'` | DateRange 中 start 选框的提示信息 | |
| update-value-on-close | `boolean` | `false` | 关闭面板时是否更新值 | |
| on-update:formatted-value | `(value: [string, string] \| null, timestampValue: [number, number] \| null) => void` | `undefined` | 数据更新时触发的回调函数 | 2.24.0 |
Expand All @@ -118,7 +118,7 @@ form-debug.vue
| format | `string` | `'yyyy-MM-dd HH:mm:ss'` | 时间格式化字符串,详情见 [format](https://date-fns.org/v2.23.0/docs/format) | |
| is-date-disabled | `(current: number, phase: 'start' \| 'end', value: [number, number] \| null) => boolean` | `undefined` | 日期禁用的校验函数 | |
| is-time-disabled | `(current: number, phase: 'start' \| 'end', value: [number, number]) => { isHourDisabled?: (hour: number) => boolean, isMinuteDisabled?: (minute: number, hour: number \| null) => boolean, isSecondDisabled?: (second: number, minute: number \| null, hour: number \| null) => boolean }` | `undefined` | 时间禁用的校验函数,校验函数中的 `null` 表示当前没有选中值 | |
| separator | `string` | `'to'` | start 选框与 end 选框之间的分隔符 | |
| separator | `string` | 内置图标 | start 选框与 end 选框之间的分隔符 | |
| start-placeholder | `string` | `'开始日期时间'` | DateTimeRange 中 start 选框的提示信息 | |
| time-picker-props | `TimePickerProps \| [TimePickerProps, TimePickerProps]` | `undefined` | 面板中时间选择器的属性 | 2.27.0 |
| update-value-on-close | `boolean` | `false` | 关闭面板时是否更新值 | |
Expand All @@ -144,7 +144,7 @@ form-debug.vue
| end-placeholder | `string` | `'结束月份'` | MonthRange 中 end 选框的提示信息 | 2.28.3 |
| format | `string` | `'yyyy-MM-dd'` | 时间格式化字符串,详情见 [format](https://date-fns.org/v2.23.0/docs/format) | 2.28.3 |
| close-on-select | `boolean` | `false` | 用户选择时间范围后是否自动关闭面板 | 2.28.3 |
| separator | `string` | `'至'` | start 选框与 end 选框之间的分隔符 | 2.28.3 |
| separator | `string` | 内置图标 | start 选框与 end 选框之间的分隔符 | 2.28.3 |
| start-placeholder | `string` | `'开始月份'` | MonthRange 中 start 选框的提示信息 | 2.28.3 |
| update-value-on-close | `boolean` | `false` | 关闭面板时是否更新值 | 2.28.3 |
| on-update:formatted-value | `(value: [string, string] \| null, timestampValue: [number, number] \| null) => void` | `undefined` | 数据更新时触发的回调函数 | 2.28.3 |
Expand Down

0 comments on commit e8916ea

Please sign in to comment.