muxin
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
4 additions and
2 deletions
-
components/modal/index.en-US.md
-
components/modal/index.zh-CN.md
-
package.json
|
|
@ -70,6 +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 | |
|
|
|
|
|
|
|
#### Note |
|
|
|
|
|
|
|
|
|
@ -71,6 +71,7 @@ demo: |
|
|
|
| zIndex | 设置 Modal 的 `z-index` | number | 1000 | | |
|
|
|
| onCancel | 点击遮罩层或右上角叉或取消按钮的回调 | function(e) | - | | |
|
|
|
| onOk | 点击确定回调 | function(e) | - | | |
|
|
|
| afterOpenChange | 打开和关闭 Modal 时动画结束后的回调 | (open: boolean) => void | - | 5.3.2 | |
|
|
|
|
|
|
|
#### 注意 |
|
|
|
|
|
|
|
|
|
@ -123,11 +123,11 @@ |
|
|
|
"rc-cascader": "~3.9.0", |
|
|
|
"rc-checkbox": "~3.0.0", |
|
|
|
"rc-collapse": "~3.5.2", |
|
|
|
"rc-dialog": "~9.0.2", |
|
|
|
"rc-dialog": "~9.1.0", |
|
|
|
"rc-drawer": "~6.1.1", |
|
|
|
"rc-dropdown": "~4.0.0", |
|
|
|
"rc-field-form": "~1.29.0", |
|
|
|
"rc-image": "~5.15.2", |
|
|
|
"rc-image": "~5.16.0", |
|
|
|
"rc-input": "~0.2.1", |
|
|
|
"rc-input-number": "~7.4.0", |
|
|
|
"rc-mentions": "~2.1.0", |
|
|
|