弹窗bug修复
parent
74b45285bf
commit
865a0075e0
|
@ -17,7 +17,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- update-begin-author:taoyan date:2022-7-18 for: modal弹窗 支持评论 slot -->
|
<!-- update-begin-author:taoyan date:2022-7-18 for: modal弹窗 支持评论 slot -->
|
||||||
<a-row class="jeecg-modal-wrapper">
|
<a-row v-if="getProps.enableComment" class="jeecg-modal-wrapper">
|
||||||
<a-col :span="24-commentSpan" class="jeecg-modal-content">
|
<a-col :span="24-commentSpan" class="jeecg-modal-content">
|
||||||
<ModalWrapper
|
<ModalWrapper
|
||||||
:useWrapper="getProps.useWrapper"
|
:useWrapper="getProps.useWrapper"
|
||||||
|
@ -42,6 +42,23 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
</a-row>
|
</a-row>
|
||||||
|
<ModalWrapper
|
||||||
|
v-else
|
||||||
|
:useWrapper="getProps.useWrapper"
|
||||||
|
:footerOffset="wrapperFooterOffset"
|
||||||
|
:fullScreen="fullScreenRef"
|
||||||
|
ref="modalWrapperRef"
|
||||||
|
:loading="getProps.loading"
|
||||||
|
:loading-tip="getProps.loadingTip"
|
||||||
|
:minHeight="getProps.minHeight"
|
||||||
|
:height="getWrapperHeight"
|
||||||
|
:visible="visibleRef"
|
||||||
|
:modalFooterHeight="footer !== undefined && !footer ? 0 : undefined"
|
||||||
|
v-bind="omit(getProps.wrapperProps, 'visible', 'height', 'modalFooterHeight')"
|
||||||
|
@ext-height="handleExtHeight"
|
||||||
|
@height-change="handleHeightChange">
|
||||||
|
<slot></slot>
|
||||||
|
</ModalWrapper>
|
||||||
<!-- update-end-author:taoyan date:2022-7-18 for: modal弹窗 支持评论 slot -->
|
<!-- update-end-author:taoyan date:2022-7-18 for: modal弹窗 支持评论 slot -->
|
||||||
|
|
||||||
<template #[item]="data" v-for="item in Object.keys(omit($slots, 'default'))">
|
<template #[item]="data" v-for="item in Object.keys(omit($slots, 'default'))">
|
||||||
|
|
Loading…
Reference in New Issue