How do react's Antd's table's CheckBox cancel the selection when changing pages?

1. When I was on the first page, CheckBox selected one, then cut to the second page and did nothing. When I switched back to the first page, I found that the first CheckBox was still selected
as shown in figure:

.

then switch back to the state of the first picture
2. How can CheckBox select all or none directly?

Dec.21,2021

clear selectedRowKeys

when you click on paging.

reference documentation: https://ant.design/components.

  • Advanced form problems in ant-design-pro

    ant-design-pro , the toggleEditable function triggered by clicking in the advanced form TableForm.js , how to add editable: true to newData. Please explain const newData = data.map (item = > ({.item})); ) toggleEditable = (e, key) => { ...

    Sep.08,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bed247-31b4a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bed247-31b4a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?