diff --git a/frontend/src/components/pure/ms-table/base-table.vue b/frontend/src/components/pure/ms-table/base-table.vue index 67f3cddc86..da32bf8b73 100644 --- a/frontend/src/components/pure/ms-table/base-table.vue +++ b/frontend/src/components/pure/ms-table/base-table.vue @@ -354,7 +354,7 @@ ( e: 'filterChange', dataIndex: string, - value: string[] | (string | number)[] | undefined, + value: string[] | (string | number | boolean)[] | undefined, isCustomParam: boolean ): void; (e: 'resetFilter', filterValue: Record): void; @@ -645,7 +645,7 @@ }); const handleFilterConfirm = ( - value: string[] | (string | number)[] | undefined, + value: string[] | (string | number | boolean)[] | undefined, dataIndex: string, isCustomParam: boolean ) => { diff --git a/frontend/src/components/pure/ms-table/comp/defaultFilter.vue b/frontend/src/components/pure/ms-table/comp/defaultFilter.vue index f9312004de..09f8deb679 100644 --- a/frontend/src/components/pure/ms-table/comp/defaultFilter.vue +++ b/frontend/src/components/pure/ms-table/comp/defaultFilter.vue @@ -103,7 +103,7 @@ } ); const emit = defineEmits<{ - (e: 'handleConfirm', value: (string | number)[] | string[] | undefined): void; + (e: 'handleConfirm', value: (string | number | boolean)[] | string[] | undefined): void; }>(); const visible = ref(false); diff --git a/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseChangeHistory.vue b/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseChangeHistory.vue index 7764b93314..4a63290502 100644 --- a/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseChangeHistory.vue +++ b/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseChangeHistory.vue @@ -116,7 +116,7 @@ loadList(); } - function filterChange(dataIndex: string, value: string[] | (string | number)[] | undefined) { + function filterChange(dataIndex: string, value: string[] | (string | number | boolean)[] | undefined) { loadHistory(value as string[]); } diff --git a/frontend/src/views/api-test/report/component/reportList.vue b/frontend/src/views/api-test/report/component/reportList.vue index 38b67d00c7..3fac6a3321 100644 --- a/frontend/src/views/api-test/report/component/reportList.vue +++ b/frontend/src/views/api-test/report/component/reportList.vue @@ -30,6 +30,7 @@ :action-config="tableBatchActions" v-on="propsEvent" @batch-action="handleTableBatch" + @filter-change="filterChange" >