diff --git a/components/table/hooks/useFilter/index.tsx b/components/table/hooks/useFilter/index.tsx index 2bc874b02b..047fd3b3e4 100644 --- a/components/table/hooks/useFilter/index.tsx +++ b/components/table/hooks/useFilter/index.tsx @@ -234,7 +234,7 @@ function useFilter({ .filter(({ key }) => keyList.includes(key)) .map((item) => { const col = mergedColumns[keyList.findIndex((key) => key === item.key)]; - const nweItem = { + return { ...item, column: { ...item.column, @@ -242,7 +242,6 @@ function useFilter({ }, forceFiltered: col.filtered, }; - return nweItem; }); }