From aacb50c1c5e124412dd8f57cbf9dd2a9e5a02d50 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Thu, 10 Feb 2022 18:00:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=85=B3=E8=81=94=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E7=94=A8=E4=BE=8B=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010172 --user=lyh 【测试跟踪】github#10351,测试计划关联接口用例显示错误 https://www.tapd.cn/55049933/s/1102856 Closes #10351 --- .../api/automation/scenario/api/RelevanceApiList.vue | 9 +++++++-- .../api/definition/components/complete/ApiTableList.vue | 5 ++++- .../components/common/components/table/MsTable.vue | 3 +++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue index 954203e5f0..a1e60a0596 100644 --- a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue +++ b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue @@ -20,6 +20,7 @@ :current-protocol="currentProtocol" :screen-height="screenHeight" @setSelectRow="setSelectRow" + @selectCountChange="setSelectCounts" @refreshTable="initTable" ref="apitable"> @@ -32,7 +33,7 @@ - + @@ -66,7 +67,8 @@ export default { tableData: [], environmentId: "", total: 0, - selectRows: new Set() + selectRows: new Set(), + selectCounts: 0 }; }, props: { @@ -121,6 +123,9 @@ export default { setSelectRow(setSelectRow) { this.selectRows = setSelectRow; }, + setSelectCounts(data) { + this.selectCounts = data; + }, isApiListEnableChange(data) { this.$emit('isApiListEnableChange', data); }, diff --git a/frontend/src/business/components/api/definition/components/complete/ApiTableList.vue b/frontend/src/business/components/api/definition/components/complete/ApiTableList.vue index 22b3d89024..b43f5c4cb7 100644 --- a/frontend/src/business/components/api/definition/components/complete/ApiTableList.vue +++ b/frontend/src/business/components/api/definition/components/complete/ApiTableList.vue @@ -8,7 +8,7 @@ @search="initTable"/>