docs(date-picker): fix typo

This commit is contained in:
07akioni 2021-09-09 00:24:18 +08:00
parent fd381b50e7
commit c5098a0e5f
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
- `n-cascader` show `Empty` component when `options` prop is empty, closes [#1092](https://github.com/TuSimple/naive-ui/issues/1092).
- `n-tree` add `check-strategy` prop.
- `n-date-picker` add `inputReadonly` prop, closes [#1120](https://github.com/TuSimple/naive-ui/issues/1120).
- `n-date-picker` add `input-readonly` prop, closes [#1120](https://github.com/TuSimple/naive-ui/issues/1120).
## 2.18.1 (2021-09-08)

View File

@ -6,7 +6,7 @@
- `n-cascader``options` 为空时显示 `Empty` 组件,关闭 [#1092](https://github.com/TuSimple/naive-ui/issues/1092)
- `n-tree` 增加 `check-strategy` 文档属性
- `n-date-picker` 新增 `inputReadonly` 属性,关闭 [#1120](https://github.com/TuSimple/naive-ui/issues/1120)
- `n-date-picker` 新增 `input-readonly` 属性,关闭 [#1120](https://github.com/TuSimple/naive-ui/issues/1120)
## 2.18.1 (2021-09-08)

View File

@ -29,7 +29,7 @@ update-on-close
| clearable | `boolean` | `false` | Whether the date picker is clearable. |
| default-value | `number \| [number, number] \| null` | `null` | Date picker's default value. |
| disabled | `boolean` | `false` | Whether the date picker is disabled. |
| inputReadonly | `boolean` | `false` | Set the `readonly` attribute of the input (avoids virtual keyboard on touch devices). |
| input-readonly | `boolean` | `false` | Set the `readonly` attribute of the input (avoids virtual keyboard on touch devices). |
| shortcuts | `Record<string, number \| [number, number]>` | `undefined` | Shortcut button customizations. |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Date picker size. |
| type | `'date' \| 'datetime' \| 'daterange' \|'datetimerange'` | `'date'` | Date picker type. |

View File

@ -29,7 +29,7 @@ update-on-close
| clearable | `boolean` | `false` | 是否支持清除 |
| default-value | `number \| [number, number] \| null` | `null` | 默认被选中的日期的时间戳 |
| disabled | `boolean` | `false` | 是否禁用 |
| inputReadonly | `boolean` | `false` | 设置输入框为只读(避免在移动设备上打开虚拟键盘) |
| input-readonly | `boolean` | `false` | 设置输入框为只读(避免在移动设备上打开虚拟键盘) |
| shortcuts | `Record<string, number \| [number, number]>` | `undefined` | 自定义快捷按钮 |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 尺寸 |
| type | `'date' \| 'datetime' \| 'daterange' \|'datetimerange'` | `'date'` | Date Picker 的类型 |