Skip to content

Commit

Permalink
docs: fix cases in Drawer Attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Sep 5, 2021
1 parent 50a464e commit b9fadaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/docs/zh-CN/drawer.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ Drawer 提供一个 `destroyOnClose` API, 用来在关闭 Drawer 时销毁子组
| size | Drawer 窗体的大小, 当使用 `number` 类型时, 以像素为单位, 当使用 `string` 类型时, 请传入 'x%', 否则便会以 `number` 类型解释 | number / string | - | '30%' |
| title | Drawer 的标题,也可通过具名 slot (见下表)传入 | string |||
| visible | 是否显示 Drawer,支持 .sync 修饰符 | boolean || false |
| wrapperClosable | 点击遮罩层是否可以关闭 Drawer | boolean | - | true |
| withHeader | 控制是否显示 header 栏, 默认为 true, 当此项为 false 时, title attribute 和 title slot 均不生效 | boolean | - | true |
| wrapper-closable | 点击遮罩层是否可以关闭 Drawer | boolean | - | true |
| with-header | 控制是否显示 header 栏, 默认为 true, 当此项为 false 时, title attribute 和 title slot 均不生效 | boolean | - | true |

### Drawer Slot

Expand Down

0 comments on commit b9fadaa

Please sign in to comment.