docs(drawer): Fix wrong prop name (#4382)

This commit is contained in:
魔王少年 2023-04-14 11:30:51 +08:00 committed by GitHub
parent 9252db0677
commit c3f05b2a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,8 @@ resizable.vue
| scrollbar-props | `object` | `undefined` | 属性参考 [Scrollbar props](scrollbar#Scrollbar-Props) | |
| show | `boolean` | `false` | Whether to show drawer. | |
| show-mask | `boolean` | `true` | Whether to show mask. If set to `'transparent'`, transparent mask would be shown. If set to false, `trap-focus` will be disabled. | 2.28.3 |
| style | `string \| Object` | `undefined` | Style of the drawer. | |
| drawer-style | `string \| Object` | `undefined` | Style of the drawer. | |
| drawer-class | `string` | `undefined` | Class of the drawer. | |
| to | `string \| HTMLElement` | `'body'` | Container node of the drawer. | |
| trap-focus | `boolean` | `true` | Whether to trap focus inside drawer. | 2.24.2 |
| width | `number \| string` | `undefined` | Works when placement is `left` and `right`. | |

View File

@ -46,7 +46,8 @@ rtl-debug.vue
| scrollbar-props | `object` | `undefined` | 属性参考 [Scrollbar props](scrollbar#Scrollbar-Props) | |
| show | `boolean` | `false` | 是否展示抽屉 | |
| show-mask | `boolean \| 'transparent'` | `true` | 是否显示遮罩,如果设为 `'transparent'` 会展示透明遮罩,如果设为 `false` 会禁用 `trap-focus` | 2.28.3 |
| style | `string \| Object` | `undefined` | 抽屉的样式 | |
| drawer-style | `string \| Object` | `undefined` | 抽屉的样式 | |
| drawer-class | `string` | `undefined` | 抽屉的class | |
| to | `string \| HTMLElement` | `'body'` | 抽屉出现的区域 | |
| trap-focus | `boolean` | `true` | 是否将焦点锁定在 Drawer 内部 | 2.24.2 |
| width | `number \| string` | `undefined` | 抽屉的宽度,在位置是 `left``right` 时生效 | |