From c91e248f014c7b98f189ae8bfbd038a4c2adfd99 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 18 Aug 2022 19:18:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/automation/scenario/EditApiScenario.vue | 6 ------ .../api/automation/scenario/variable/EditCsv.vue | 4 ++-- .../automation/scenario/variable/VariableList.vue | 15 ++++++++++++++- .../environment/ApiScenarioVariables.vue | 6 +++++- 4 files changed, 21 insertions(+), 10 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 77be65a814..1d4db54696 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -2393,12 +2393,6 @@ export default { vertical-align: center; } -/deep/ .show-more-btn { - width: 0px; - height: 17px; - line-height: 10px; -} - /deep/ .ms-main-container { padding: 5px 5px 5px 10px; } diff --git a/frontend/src/business/components/api/automation/scenario/variable/EditCsv.vue b/frontend/src/business/components/api/automation/scenario/variable/EditCsv.vue index 907cba38dc..77a9e79180 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/EditCsv.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/EditCsv.vue @@ -52,8 +52,8 @@ - - + + diff --git a/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue b/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue index 74b42858a7..885594a5db 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue @@ -113,6 +113,7 @@ :field="item" :fields-width="fieldsWidth" :label="$t('commons.description')" + min-width="70" sortable> @@ -147,7 +148,7 @@ {{ $t('api_test.request.headers') }} -
+
{{ headers.length - 1 }}
@@ -632,8 +633,20 @@ fieldset { border: 0px; } +.ms-fieldset .ms-step-tree-cell::-webkit-scrollbar { + width: 0 !important; +} + .ms-select { width: 100px; margin-right: 10px; } + +.el-dialog__body { + padding: 0 20px 30px 20px; +} + +.ms-select-all-fixed .table-select-icon { + display: none !important; +} diff --git a/frontend/src/business/components/api/test/components/environment/ApiScenarioVariables.vue b/frontend/src/business/components/api/test/components/environment/ApiScenarioVariables.vue index 9d8e2077dc..1ef9f6e9d6 100644 --- a/frontend/src/business/components/api/test/components/environment/ApiScenarioVariables.vue +++ b/frontend/src/business/components/api/test/components/environment/ApiScenarioVariables.vue @@ -70,7 +70,7 @@ - +