diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 8f771709d..ff144bc90 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -1170,6 +1170,21 @@ const searchFormClick = async (searchData) => { }) } + if (props.tableObjectExtend) { + props.tableObjectExtend.forEach(item => { + let findItem = tableObjectRef.value.params.filters.find(item1=>item1.column == [item.key]) + if(findItem){ + findItem.value = item.value + }else{ + tableObjectRef.value.params.filters.push({ + column : item.key, + action : "==", + value : item.value + }) + } + }) + } + // const { tableObject, tableMethods } = useTable({ // getListApi: props.apiPage // 分页接口