diff --git a/packages/table/src/Table.tsx b/packages/table/src/Table.tsx index 6a06257dccd3..c462fe07e18c 100644 --- a/packages/table/src/Table.tsx +++ b/packages/table/src/Table.tsx @@ -906,7 +906,7 @@ const ProTable = < const selectedRows = useMemo( () => selectedRowKeys?.map((key) => preserveRecordsRef.current?.get(key)), - [selectedRowKeys], + [action.dataSource, selectedRowKeys], ) as T[]; /** 内置的工具栏 */