|
|
@ -61,9 +61,12 @@ const modalProps = () => ({
|
|
|
|
wrapClassName: String,
|
|
|
|
wrapClassName: String,
|
|
|
|
maskTransitionName: String,
|
|
|
|
maskTransitionName: String,
|
|
|
|
transitionName: String,
|
|
|
|
transitionName: String,
|
|
|
|
getContainer: [String, Function, Boolean, Object] as PropType<
|
|
|
|
getContainer: {
|
|
|
|
string | HTMLElement | getContainerFunc | false
|
|
|
|
type: [String, Function, Boolean, Object] as PropType<
|
|
|
|
>,
|
|
|
|
string | HTMLElement | getContainerFunc | false
|
|
|
|
|
|
|
|
>,
|
|
|
|
|
|
|
|
default: undefined,
|
|
|
|
|
|
|
|
},
|
|
|
|
zIndex: Number,
|
|
|
|
zIndex: Number,
|
|
|
|
bodyStyle: Object as PropType<CSSProperties>,
|
|
|
|
bodyStyle: Object as PropType<CSSProperties>,
|
|
|
|
maskStyle: Object as PropType<CSSProperties>,
|
|
|
|
maskStyle: Object as PropType<CSSProperties>,
|
|
|
@ -206,7 +209,7 @@ export default defineComponent({
|
|
|
|
<Dialog
|
|
|
|
<Dialog
|
|
|
|
{...restProps}
|
|
|
|
{...restProps}
|
|
|
|
{...attrs}
|
|
|
|
{...attrs}
|
|
|
|
getContainer={getContainer || getPopupContainer}
|
|
|
|
getContainer={getContainer || getPopupContainer.value}
|
|
|
|
prefixCls={prefixCls.value}
|
|
|
|
prefixCls={prefixCls.value}
|
|
|
|
wrapClassName={wrapClassNameExtended}
|
|
|
|
wrapClassName={wrapClassNameExtended}
|
|
|
|
visible={visible}
|
|
|
|
visible={visible}
|
|
|
|