mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
parent
a73d0504ca
commit
59193ef34a
@ -65,7 +65,7 @@ The properties of the object are follows:
|
||||
| okText | Text of OK button | string | OK |
|
||||
| okType | type of the confirmation button | string | primary |
|
||||
| cancelText | Text of cancel button | string | Cancel |
|
||||
| maskClosable | Determine whether to close the modal dialog when clicked mask of it. | Boolean | `true` |
|
||||
| maskClosable | Determine whether to close the modal dialog when clicked mask of it. | Boolean | `false` |
|
||||
| zIndex | To set the `z-index` of Modal | Number | 1000 |
|
||||
|
||||
All the `Modal.method`s will return a reference, and then we can close the popup by the reference.
|
||||
|
@ -63,7 +63,7 @@ title: Modal
|
||||
| okText | 确认按钮文字 | string | 确定 |
|
||||
| okType | 确认按钮类型 | string | primary |
|
||||
| cancelText | 取消按钮文字 | string | 取消 |
|
||||
| maskClosable | 点击蒙层是否允许关闭 | Boolean | `true` |
|
||||
| maskClosable | 点击蒙层是否允许关闭 | Boolean | `false` |
|
||||
| zIndex | 设置 Modal 的 `z-index` | Number | 1000 |
|
||||
|
||||
以上函数调用后,会返回一个引用,可以通过该引用关闭弹窗。
|
||||
|
Loading…
Reference in New Issue
Block a user