docs(drawer): fix typo (#6736)

This commit is contained in:
Simon He 2023-07-17 09:07:49 +08:00 committed by GitHub
parent 5fd00c05b5
commit 4ea318be30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr
## Events
| Name | Description | Type | Default | Version |
| Events Name | Description | Type | Default | Version |
| --- | --- | --- | --- | --- |
| afterOpenChange | Callback after the animation ends when switching drawers. | function(open) | - | 4.0 |
| close | Specify a callback that will be called when a user clicks mask, close button or Cancel button. | function(e) | - | |

View File

@ -53,7 +53,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*4wzwRIBLuqEAAA
## 事件
| 名称 | 描述 | 类型 | 默认值 | 版本 |
| 事件名称 | 描述 | 类型 | 默认值 | 版本 |
| --------------- | ------------------------------------ | -------------- | ------ | ---- |
| afterOpenChange | 切换抽屉时动画结束后的回调 | function(open) | 无 | 4.0 |
| close | 点击遮罩层或左上角叉或取消按钮的回调 | function(e) | 无 | |