Browse Source

fix:(modal): getContainer property invalid (#5147)

* fix:(modal): getContainer property invalid

* Update Modal.tsx
pull/4936/head
menghan 3 years ago committed by GitHub
parent
commit
9693e4b10b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/modal/Modal.tsx

2
components/modal/Modal.tsx

@ -206,7 +206,7 @@ export default defineComponent({
<Dialog
{...restProps}
{...attrs}
getContainer={getPopupContainer}
getContainer={getContainer || getPopupContainer}
prefixCls={prefixCls.value}
wrapClassName={wrapClassNameExtended}
visible={visible}

Loading…
Cancel
Save