refactor(接口管理): 优化执行结果弹窗样式
This commit is contained in:
parent
d0c9c417b3
commit
9ca29400ef
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 = {}; // 缓存websocket返回的报告内容,避免执行接口后切换tab导致报告丢失
|
||||
|
|
|
@ -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"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue