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"/>