File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,12 @@ const modalProps = () => ({
61
61
wrapClassName : String ,
62
62
maskTransitionName : String ,
63
63
transitionName : String ,
64
- getContainer : [ String , Function , Boolean , Object ] as PropType <
65
- string | HTMLElement | getContainerFunc | false
66
- > ,
64
+ getContainer : {
65
+ type : [ String , Function , Boolean , Object ] as PropType <
66
+ string | HTMLElement | getContainerFunc | false
67
+ > ,
68
+ default : undefined ,
69
+ } ,
67
70
zIndex : Number ,
68
71
bodyStyle : Object as PropType < CSSProperties > ,
69
72
maskStyle : Object as PropType < CSSProperties > ,
@@ -206,7 +209,7 @@ export default defineComponent({
206
209
< Dialog
207
210
{ ...restProps }
208
211
{ ...attrs }
209
- getContainer = { getContainer || getPopupContainer }
212
+ getContainer = { getContainer || getPopupContainer . value }
210
213
prefixCls = { prefixCls . value }
211
214
wrapClassName = { wrapClassNameExtended }
212
215
visible = { visible }
You can’t perform that action at this time.
0 commit comments