muxin
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
components/modal/index.en-US.md
-
components/modal/index.zh-CN.md
|
|
@ -70,7 +70,7 @@ Additionally, if you need show a simple confirmation dialog, you can use [`App.u |
|
|
|
| zIndex | The `z-index` of the Modal | number | 1000 | | |
|
|
|
| onCancel | Specify a function that will be called when a user clicks mask, close button on top right or Cancel button | function(e) | - | | |
|
|
|
| onOk | Specify a function that will be called when a user clicks the OK button | function(e) | - | | |
|
|
|
| afterOpenChange | Callback when the animation ends when Modal is turned on and off | (open: boolean) => void | - | 5.3.2 | |
|
|
|
| afterOpenChange | Callback when the animation ends when Modal is turned on and off | (open: boolean) => void | - | 5.4.0 | |
|
|
|
|
|
|
|
#### Note |
|
|
|
|
|
|
|
|
|
@ -71,7 +71,7 @@ demo: |
|
|
|
| zIndex | 设置 Modal 的 `z-index` | number | 1000 | | |
|
|
|
| onCancel | 点击遮罩层或右上角叉或取消按钮的回调 | function(e) | - | | |
|
|
|
| onOk | 点击确定回调 | function(e) | - | | |
|
|
|
| afterOpenChange | 打开和关闭 Modal 时动画结束后的回调 | (open: boolean) => void | - | 5.3.2 | |
|
|
|
| afterOpenChange | 打开和关闭 Modal 时动画结束后的回调 | (open: boolean) => void | - | 5.4.0 | |
|
|
|
|
|
|
|
#### 注意 |
|
|
|
|
|
|
|