fix: 模态框的footer底部按钮null会显示的处理

This commit is contained in:
TsMask
2024-06-19 17:29:59 +08:00
parent e1548d2c98
commit c11d814312
6 changed files with 7 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ function fnUpload(up: UploadRequestOption) {
:keyboard="false"
:mask-closable="false"
:confirm-loading="props.loading"
:footer="null"
:footer="false"
@cancel="fnModalClose"
>
<a-space :size="8" direction="vertical" style="width: 100%">

View File

@@ -210,7 +210,7 @@ watch(
:keyboard="false"
:mask-closable="false"
@cancel="fnModalCancel"
:footer="null"
:footer="false"
>
<!-- 表格搜索栏 -->
<a-form :model="queryParams" name="queryParams" layout="horizontal">

View File

@@ -1054,7 +1054,8 @@ onMounted(() => {
:visible="modalState.helpShowView"
:title="modalState.title"
:confirm-loading="modalState.confirmLoading"
:footer="null"
:body-style="{ padding: '0px' }"
:footer="false"
@cancel="fnModalCancel"
>
<a-table

View File

@@ -826,6 +826,7 @@ onMounted(() => {
<!-- 详情框 -->
<ProModal
:drag="true"
:width="800"
:body-style="{ height: '520px', overflowY: 'scroll' }"
:keyboard="false"
:mask-closable="false"

View File

@@ -413,7 +413,7 @@ onMounted(() => {
:visible="modalState.visibleByView"
:title="modalState.title"
@cancel="fnModalCancel"
:footer="null"
:footer="false"
>
<a-form layout="horizontal" labelAlign="left" :labelWrap="false">
<a-row :gutter="8">

View File

@@ -539,7 +539,7 @@ onMounted(() => {
:drag="true"
:width="800"
:visible="modalState.visibleByView"
:footer="null"
:footer="false"
:maskClosable="false"
:keyboard="false"
:title="t('views.traceManage.pcap.textLogMsg')"