From 19b0bf425150e53e6caf14035b2895a75fdbf190 Mon Sep 17 00:00:00 2001 From: teukkk Date: Mon, 8 Apr 2024 14:36:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E8=A1=A8=E6=A0=BC=E5=8E=BB=E6=8E=89=E8=81=94?= =?UTF-8?q?=E8=B0=83=E4=B8=AD=E7=8A=B6=E6=80=81&query=E5=92=8Crest?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E9=A1=B5=E5=8A=A0=E4=B8=8A=E8=A1=A8=E5=A4=B4?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE&=E7=94=A8=E4=BE=8B=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E8=BF=87=E9=95=BF=E5=88=99=E7=9C=81=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1037770 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001037770 --bug=1038573 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038573 --bug=1037663 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001037663 --bug=1037978 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001037978 --- frontend/src/components/pure/ms-detail-card/index.vue | 3 +++ frontend/src/enums/tableEnum.ts | 2 ++ .../api-test/components/requestComposition/query.vue | 3 +++ .../api-test/components/requestComposition/rest.vue | 3 +++ .../components/management/api/preview/detail.vue | 4 ++-- .../components/management/api/preview/index.vue | 6 ------ .../components/management/case/caseTable.vue | 11 +++++------ .../management/case/createAndEditCaseDrawer.vue | 2 ++ 8 files changed, 20 insertions(+), 14 deletions(-) diff --git a/frontend/src/components/pure/ms-detail-card/index.vue b/frontend/src/components/pure/ms-detail-card/index.vue index ee5c109561..45b87fda7a 100644 --- a/frontend/src/components/pure/ms-detail-card/index.vue +++ b/frontend/src/components/pure/ms-detail-card/index.vue @@ -103,6 +103,9 @@ border-radius: var(--border-radius-small); background-color: var(--color-text-n9); gap: 8px; + .one-line-text { + max-width: 300px; + } .ms-detail-card-desc { @apply flex flex-wrap overflow-hidden; // TODO:过渡动画 } diff --git a/frontend/src/enums/tableEnum.ts b/frontend/src/enums/tableEnum.ts index 4317a12fd3..cc73615a4e 100644 --- a/frontend/src/enums/tableEnum.ts +++ b/frontend/src/enums/tableEnum.ts @@ -10,6 +10,8 @@ export enum TableKeyEnum { API_TEST = 'apiTest', API_TEST_MANAGEMENT_CASE = 'apiTestMenagementCase', API_TEST_DEBUG_FORM_DATA = 'apiTestDebugFormData', + API_TEST_DEBUG_REST = 'apiTestDebugRest', + API_TEST_DEBUG_QUERY = 'apiTestDebugQuery', API_TEST_DEBUG_FORM_URL_ENCODE = 'apiTestDebugFormUrlEncoded', API_TEST_REPORT = 'apiTestReport', API_SCENARIO = 'apiScenario', diff --git a/frontend/src/views/api-test/components/requestComposition/query.vue b/frontend/src/views/api-test/components/requestComposition/query.vue index cafde2e946..2a07b1dee3 100644 --- a/frontend/src/views/api-test/components/requestComposition/query.vue +++ b/frontend/src/views/api-test/components/requestComposition/query.vue @@ -25,6 +25,8 @@ :columns="columns" :height-used="heightUsed" :scroll="{ minWidth: 1160 }" + :show-setting="true" + :table-key="TableKeyEnum.API_TEST_DEBUG_QUERY" :draggable="!props.disabledExceptParam" :default-param-item="defaultRequestParamsItem" @change="handleParamTableChange" @@ -42,6 +44,7 @@ import { ExecuteRequestCommonParam } from '@/models/apiTest/common'; import { RequestParamsType } from '@/enums/apiEnum'; + import { TableKeyEnum } from '@/enums/tableEnum'; import { filterKeyValParams } from '../utils'; import { defaultRequestParamsItem } from '@/views/api-test/components/config'; diff --git a/frontend/src/views/api-test/components/requestComposition/rest.vue b/frontend/src/views/api-test/components/requestComposition/rest.vue index aa11aa516f..b7aed4611f 100644 --- a/frontend/src/views/api-test/components/requestComposition/rest.vue +++ b/frontend/src/views/api-test/components/requestComposition/rest.vue @@ -26,6 +26,8 @@ :disabled-except-param="props.disabledExceptParam" :height-used="heightUsed" :scroll="{ minWidth: 1160 }" + :show-setting="true" + :table-key="TableKeyEnum.API_TEST_DEBUG_REST" :default-param-item="defaultRequestParamsItem" @change="handleParamTableChange" /> @@ -42,6 +44,7 @@ import { ExecuteRequestCommonParam } from '@/models/apiTest/common'; import { RequestParamsType } from '@/enums/apiEnum'; + import { TableKeyEnum } from '@/enums/tableEnum'; import { filterKeyValParams } from '../utils'; import { defaultRequestParamsItem } from '@/views/api-test/components/config'; diff --git a/frontend/src/views/api-test/management/components/management/api/preview/detail.vue b/frontend/src/views/api-test/management/components/management/api/preview/detail.vue index 6e57633914..121d29551d 100644 --- a/frontend/src/views/api-test/management/components/management/api/preview/detail.vue +++ b/frontend/src/views/api-test/management/components/management/api/preview/detail.vue @@ -1,6 +1,6 @@