Skip to content

Commit 646f0c6

Browse files
committed
fix: modal method wrapClassName not work, close #5550
1 parent c515927 commit 646f0c6

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

components/modal/ConfirmDialog.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export default defineComponent<ConfirmDialogProps>({
5959
'closeIcon',
6060
'modalRender',
6161
'focusTriggerAfterClose',
62+
'wrapClassName',
6263
] as any,
6364
setup(props, { attrs }) {
6465
const [locale] = useLocaleReceiver('Modal');

components/modal/index.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The items listed above are all functions, expecting a settings object as paramet
8383
| okType | Button `type` of the OK button | string | `primary` | |
8484
| title | Title | string\|VNode \|function(h) | - | |
8585
| width | Width of the modal dialog | string\|number | 416 | |
86-
| wrapClassName | The class name of the container of the modal dialog | string | - | 3.0 |
86+
| wrapClassName | The class name of the container of the modal dialog | string | - | 3.2.3 |
8787
| zIndex | The `z-index` of the Modal | number | 1000 | |
8888
| onCancel | Specify a function that will be called when the user clicks the Cancel button. The parameter of this function is a function whose execution should include closing the dialog. You can also just return a promise and when the promise is resolved, the modal dialog will also be closed | function | - | |
8989
| onOk | Specify a function that will be called when the user clicks the OK button. The parameter of this function is a function whose execution should include closing the dialog. You can also just return a promise and when the promise is resolved, the modal dialog will also be closed | function | - | |

components/modal/index.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/3StSdUlSH/Modal.svg
8787
| okType | 确认按钮类型 | string | primary | |
8888
| title | 标题 | string\|VNode \|function(h) || |
8989
| width | 宽度 | string\|number | 416 | |
90-
| wrapClassName | 对话框外层容器的类名 | string | - | 3.0 |
90+
| wrapClassName | 对话框外层容器的类名 | string | - | 3.2.3 |
9191
| zIndex | 设置 Modal 的 `z-index` | number | 1000 | |
9292
| onCancel | 取消回调,参数为关闭函数,返回 promise 时 resolve 后自动关闭 | function || |
9393
| onOk | 点击确定回调,参数为关闭函数,返回 promise 时 resolve 后自动关闭 | function || |

0 commit comments

Comments
 (0)