🐛 (Table): fix filters define in onChange (#20337)

close #20270
This commit is contained in:
He Linming 2019-12-19 10:42:19 +08:00 committed by Amumu
parent 7a2d1f2017
commit ea9e9fb410

View File

@ -190,7 +190,7 @@ export interface TableProps<T> {
onExpand?: (expanded: boolean, record: T) => void;
onChange?: (
pagination: PaginationConfig,
filters: Record<keyof T, string[]>,
filters: Partial<Record<keyof T, string[]>>,
sorter: SorterResult<T>,
extra: TableCurrentDataSource<T>,
) => void;