From 83fedebb8ae4d452871bd311bd9a7918582dcd8a Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Tue, 19 Mar 2024 21:12:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E7=AE=A1=E7=90=86):?= =?UTF-8?q?=20=E8=B0=83=E6=95=B4=E6=89=A7=E8=A1=8C=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/modules/api-test/management.ts | 2 +- frontend/src/assets/style/arco-reset.less | 16 ++++++++++ .../requestComposition/response/index.vue | 6 +++- .../case/tabContent/tabCaseExecuteHistory.vue | 30 ++++++++++++++----- 4 files changed, 44 insertions(+), 10 deletions(-) diff --git a/frontend/src/api/modules/api-test/management.ts b/frontend/src/api/modules/api-test/management.ts index ea53ddea2a..ee52ba8e60 100644 --- a/frontend/src/api/modules/api-test/management.ts +++ b/frontend/src/api/modules/api-test/management.ts @@ -492,5 +492,5 @@ export function getReportById(id: string) { } export function getCaseReportDetail(reportId: string, stepId: string) { - return MSR.get({ url: `${GetCaseReportDetailUrl + reportId}/${stepId}` }); + return MSR.get({ url: `${GetCaseReportDetailUrl + reportId}/${stepId}` }); } diff --git a/frontend/src/assets/style/arco-reset.less b/frontend/src/assets/style/arco-reset.less index 941d243194..5f0ee80a7d 100644 --- a/frontend/src/assets/style/arco-reset.less +++ b/frontend/src/assets/style/arco-reset.less @@ -137,6 +137,22 @@ width: 960px; } } + +.ms-modal-response { + .arco-modal { + width: 800px; + height: 467px; + } +} + +.ms-modal-response-body{ + .arco-modal .arco-modal-body{ + color: var(--color-text-2); + } +} + + + .ms-modal-small { .arco-modal { width: 480px; diff --git a/frontend/src/views/api-test/components/requestComposition/response/index.vue b/frontend/src/views/api-test/components/requestComposition/response/index.vue index dfe26dfabc..5d073ca24c 100644 --- a/frontend/src/views/api-test/components/requestComposition/response/index.vue +++ b/frontend/src/views/api-test/components/requestComposition/response/index.vue @@ -115,7 +115,10 @@ --> - + Promise; // 上传临时文件接口 isDefinition?: boolean; + isResponseModel?: boolean; }>(), { activeLayout: 'vertical', diff --git a/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue b/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue index aefae9cd77..3e19f6fab7 100644 --- a/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue +++ b/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue @@ -74,20 +74,30 @@ - + +