Browse Source

docs(modal): remove obsolete apis (#6904)

pull/6917/head
Konv Suu 1 year ago committed by GitHub
parent
commit
9464158c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/modal/index.en-US.md
  2. 2
      components/modal/index.zh-CN.md

2
components/modal/index.en-US.md

@ -25,8 +25,6 @@ When requiring users to interact with the application, but without jumping to a
| closeIcon | custom close icon | VNode \| slot | - | |
| confirmLoading | Whether to apply loading visual effect for OK button or not | boolean | false | |
| destroyOnClose | Whether to unmount child components on onClose | boolean | false | |
| dialogClass | className of floating layer. | string | - | |
| dialogStyle | Style of floating layer, typically used at least for adjusting the position. | object | - | |
| footer | Footer content, set as `:footer="null"` when you don't need default buttons | string\|slot | OK and Cancel buttons | |
| forceRender | Force render Modal | boolean | false | |
| getContainer | Return the mount node for Modal | (instance): HTMLElement | () => document.body | |

2
components/modal/index.zh-CN.md

@ -28,8 +28,6 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*fBrgSJBmavgAAA
| closeIcon | 自定义关闭图标 | VNode \| slot | - | |
| confirmLoading | 确定按钮 loading | boolean | 无 | |
| destroyOnClose | 关闭时销毁 Modal 里的子元素 | boolean | false | |
| dialogClass | 可用于设置浮层的类名 | string | - | |
| dialogStyle | 可用于设置浮层的样式,调整浮层位置等 | object | - | |
| footer | 底部内容,当不需要默认底部按钮时,可以设为 `:footer="null"` | string\|slot | 确定取消按钮 | |
| forceRender | 强制渲染 Modal | boolean | false | |
| getContainer | 指定 Modal 挂载的 HTML 节点 | (instance): HTMLElement | () => document.body | |

Loading…
Cancel
Save