antd表格处理多选逻辑
const [{selectedRows, selectedRowKeys, rowSelection}, {clearSelected}] = useAntdSelection({idKey: 'userId', defaultSelectedRowKeys: []});
return (
<ProTable<TableListItem>
actionRef={ref}
columns={columns}
// @ts-ignore
rowSelection={rowSelection}
...
/>
);