diff --git a/src/dialog/README.md b/src/dialog/README.md index 40bea7bf6..4c873065f 100644 --- a/src/dialog/README.md +++ b/src/dialog/README.md @@ -152,7 +152,7 @@ export default { | close-on-click-overlay | Whether to close when click overlay | `Boolean` | `false` | | lock-scroll | Whether to lock background scroll | `Boolean` | `true` | | before-close | Callback before close,
call done() to close dialog,
call done(false) to cancel loading | (action: string, done: function) => void | - | -| get-container | Return the mount node for Dialog | `String | () => HTMLElement` | `body` | +| get-container | Return the mount node for Dialog | `String | () => HTMLElement` | - | ### Events diff --git a/src/dialog/README.zh-CN.md b/src/dialog/README.zh-CN.md index d74bf96a8..cf30d86d9 100644 --- a/src/dialog/README.zh-CN.md +++ b/src/dialog/README.zh-CN.md @@ -183,7 +183,7 @@ export default { | close-on-click-overlay | 是否在点击遮罩层后关闭 | `Boolean` | `false` | - | | lock-scroll | 是否锁定背景滚动 | `Boolean` | `true` | - | | before-close | 关闭前的回调函数,
调用 done() 后关闭弹窗,
调用 done(false) 阻止弹窗关闭 | `(action, done) => void` | - | - | -| get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | `String | () => HTMLElement` | `body` | - | +| get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | `String | () => HTMLElement` | - | - | ### Events