refactor(接口管理): 优化执行结果弹窗样式

This commit is contained in:
guoyuqi 2024-03-20 18:51:47 +08:00 committed by Craftsman
parent d0c9c417b3
commit 9ca29400ef
4 changed files with 8 additions and 7 deletions

View File

@ -141,13 +141,14 @@
.ms-modal-response {
.arco-modal {
width: 800px;
height: 467px;
height: 523px
}
}
.ms-modal-response-body{
.arco-modal .arco-modal-body{
color: var(--color-text-2);
.arco-modal-body{
padding: 0;
overflow: inherit;
}
}

View File

@ -117,7 +117,7 @@
</div>
<a-spin
:loading="props.loading"
:class="[isResponseModel ? 'h-[326px] w-full' : 'h-[calc(100%-35px)] w-full px-[18px] pb-[18px]']"
:class="[isResponseModel ? 'h-[381px] w-full' : 'h-[calc(100%-35px)] w-full px-[18px] pb-[18px]']"
>
<edit
v-if="props.isEdit && activeResponseType === 'content' && innerResponseDefinition"

View File

@ -49,8 +49,8 @@
});
const apiLocalExec = inject<Ref<LocalConfig>>('apiLocalExec');
const isPriorityLocalExec = ref(apiLocalExec?.value.enable || false); //
const localExecuteUrl = ref(apiLocalExec?.value.userUrl || '');
const isPriorityLocalExec = ref(apiLocalExec?.value?.enable || false); //
const localExecuteUrl = ref(apiLocalExec?.value?.userUrl || '');
const reportId = ref('');
const websocket = ref<WebSocket>();
const temporaryResponseMap = {}; // websockettab

View File

@ -76,7 +76,7 @@
</ms-base-table>
<a-modal
v-model:visible="showResponse"
class="ms-modal-form ms-modal-response ms-modal-response-body"
class="ms-modal-response ms-modal-response-body"
title-align="start"
:footer="false"
>