From 4dc42df9b6bc2348c6405e831a17dc1bc7b23b05 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 24 Jul 2023 11:08:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=8A=A5=E5=91=8A-=E5=9C=BA=E6=99=AF-=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=89=A7=E8=A1=8C=E7=BB=93=E6=9E=9C-?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=AD=A5=E9=AA=A4-=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E5=90=91=E4=B8=8B=E5=B1=95=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027885 --user=白奇 【测试跟踪】&【接口测试】报告-场景-点击查看执行结果-点击步骤-不能向下展开 https://www.tapd.cn/55049933/s/1396341https://www.tapd.cn/55049933/s/1393977 --- .../InfiniteScrollScenarioResults.vue | 3 +- .../report/components/RequestResult.vue | 13 ++- .../report/components/ResponseText.vue | 108 ++++++++---------- .../report/components/ScenarioResult.vue | 29 ++++- 4 files changed, 82 insertions(+), 71 deletions(-) diff --git a/api-test/frontend/src/business/automation/report/components/InfiniteScrollScenarioResults.vue b/api-test/frontend/src/business/automation/report/components/InfiniteScrollScenarioResults.vue index fa80a509b4..4c4e7309fe 100644 --- a/api-test/frontend/src/business/automation/report/components/InfiniteScrollScenarioResults.vue +++ b/api-test/frontend/src/business/automation/report/components/InfiniteScrollScenarioResults.vue @@ -27,7 +27,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
- - - - - - + + + + + - -
{{ response.headers }}
-
+ +
{{ response.headers }}
+
- - - + + + - -
{{ response.vars }}
-
+ +
{{ response.vars }}
+
- -
- {{ $t('api_test.request.address') }} : -
{{ request.url }}
-
- -
- {{ $t('api_test.scenario.headers') }} : -
{{ request.headers }}
-
-
- Cookie: -
{{ request.cookies }}
-
-
- Body : -
{{ request.body }}
-
-
+ +
+ {{ $t('api_test.request.address') }} : +
{{ request.url }}
+
+ +
+ {{ $t('api_test.scenario.headers') }} : +
{{ request.headers }}
+
+
+ Cookie: +
{{ request.cookies }}
+
+
+ Body : +
{{ request.body }}
+
+
- - - -
-
+ + + +
@@ -90,7 +82,6 @@ export default { data() { return { - isActive: true, activeName: 'body', modes: ['text', 'json', 'xml', 'html'], sqlModes: ['text', 'table'], @@ -99,9 +90,6 @@ export default { }, methods: { - active() { - this.isActive = !this.isActive; - }, modeChange(mode) { this.mode = mode; }, diff --git a/api-test/frontend/src/business/automation/report/components/ScenarioResult.vue b/api-test/frontend/src/business/automation/report/components/ScenarioResult.vue index 734aa1f2e9..1dabbf530a 100644 --- a/api-test/frontend/src/business/automation/report/components/ScenarioResult.vue +++ b/api-test/frontend/src/business/automation/report/components/ScenarioResult.vue @@ -1,5 +1,5 @@