diff --git a/frontend/src/components/pure/ms-form-table/index.vue b/frontend/src/components/pure/ms-form-table/index.vue index 50365e333e..fddd0d1af3 100644 --- a/frontend/src/components/pure/ms-form-table/index.vue +++ b/frontend/src/components/pure/ms-form-table/index.vue @@ -13,6 +13,7 @@ ]" bordered :row-class="rowClass" + :filter="filterData" v-on="propsEvent" @drag-change="tableChange" @init-end="validateAndUpdateErrorMessageList" @@ -355,7 +356,7 @@ const expandedKeys = defineModel('expandedKeys', { default: [] }); const originalSelectedKeys = defineModel<(string | number)[]>('originalSelectedKeys', { default: [] }); - const filterData = ref({}); + const filterData = ref>({}); async function initColumns() { if (props.showSetting && props.tableKey) { @@ -407,6 +408,7 @@ dataIndex: string, isCustomParam: boolean ) => { + filterData.value[dataIndex] = value; emit('filterChange', dataIndex, value, isCustomParam); };