Skip to content

Commit 9693e4b

Browse files
authored
fix:(modal): getContainer property invalid (#5147)
* fix:(modal): getContainer property invalid * Update Modal.tsx
1 parent dab6f90 commit 9693e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/modal/Modal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export default defineComponent({
206206
<Dialog
207207
{...restProps}
208208
{...attrs}
209-
getContainer={getPopupContainer}
209+
getContainer={getContainer || getPopupContainer}
210210
prefixCls={prefixCls.value}
211211
wrapClassName={wrapClassNameExtended}
212212
visible={visible}

0 commit comments

Comments
 (0)