优化弹框关闭图表

This commit is contained in:
ym1026
2025-09-01 17:18:30 +08:00
parent 4ca96a267f
commit cc9a30e205
3 changed files with 16 additions and 7 deletions

View File

@@ -11,11 +11,16 @@
v-model:open="showCtrModal"
:destroy-on-close="true"
:get-container="() => $refs.mapContent"
:closable="false"
:footer="null"
:title="testVal.name"
:mask="true"
>
<template #closeIcon>
<i
class="iconfont icon-guanbi"
style="font-size:20px; cursor: pointer; color: #fff; "
/>
</template>
<div class="modal-content">
<div class="home-modal">
<Modal></Modal>
@@ -103,7 +108,11 @@ export default {
margin: auto;
box-shadow: none;
background: transparent;
.ant-modal-close{
position: absolute;
right: 0;
top: 3px;
}
.ant-modal-body {
height: calc(100% - 45px);
color: #fff;