From c0eb1251d85f3cc52d9d6a25c6a1bc499f6b5781 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 24 Mar 2022 12:06:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20tcp=E5=8D=8F=E8=AE=AE=E5=89=8D=E5=90=8E=E7=BD=AEsql=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=E9=94=99=E4=BD=8D?= =?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1011632 --user=王孝刚 【接口测试】tcp协议-前/后置sql配置页面显示错位 https://www.tapd.cn/55049933/s/1125289 --- .../api/definition/components/runtest/RunTestTCPPage.vue | 6 +++--- .../components/api/definition/components/step/JmxStep.vue | 2 ++ .../track/review/view/components/TestReviewTestCaseList.vue | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/runtest/RunTestTCPPage.vue b/frontend/src/business/components/api/definition/components/runtest/RunTestTCPPage.vue index 12dfcddce9..55a8865e24 100644 --- a/frontend/src/business/components/api/definition/components/runtest/RunTestTCPPage.vue +++ b/frontend/src/business/components/api/definition/components/runtest/RunTestTCPPage.vue @@ -6,7 +6,7 @@ - + - +
@@ -48,7 +48,7 @@
-
+

{{ $t('api_test.definition.request.res_param') }}

diff --git a/frontend/src/business/components/api/definition/components/step/JmxStep.vue b/frontend/src/business/components/api/definition/components/step/JmxStep.vue index 326255b14c..c223196e03 100644 --- a/frontend/src/business/components/api/definition/components/step/JmxStep.vue +++ b/frontend/src/business/components/api/definition/components/step/JmxStep.vue @@ -305,6 +305,7 @@ export default { if (this.request.disabled) { jdbcPreProcessor.label = 'SCENARIO-REF-STEP'; } + jdbcPreProcessor.active = false; this.request.hashTree.push(jdbcPreProcessor); this.sort(); this.reload(); @@ -317,6 +318,7 @@ export default { if (this.request.disabled) { jdbcPostProcessor.label = 'SCENARIO-REF-STEP'; } + jdbcPostProcessor.active = false; this.request.hashTree.push(jdbcPostProcessor); this.sort(); this.reload(); diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue index 52bb7a7773..80651ed9b7 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue @@ -360,7 +360,7 @@ export default { this.result.loading = true; this.fields = getTableHeaderWithCustomFields(this.tableHeaderKey, []); this.result.loading = false; - this.$refs.table.reloadTable(); + setTimeout(this.$refs.table.reloadTable(), 500); }, customHeader() { const list = deepClone(this.tableLabel); @@ -388,8 +388,8 @@ export default { this.tableData = data.listObject; }); - setTimeout(this.$refs.table.reloadTable(), 200); } + setTimeout(this.$refs.table.reloadTable(), 500); }, getNexPageData() { getTestReviewTestCase(this.currentPage * this.pageSize + 1, 1, this.condition, (data) => {