React uses the switch component in the table of ant design, but the switch data is not updated?

use the original table component to encapsulate an extra layer of TableC, in the render method of the columns property to render switch, circularly. No matter how you modify the data view, it will not be updated, including using mobx, to ask how to solve this problem? Thank you

Mar.04,2021

use checked to control switching

clipboard.png

Update the data in render of
columns , you need to change the data source of dataSource , and transfer the updated data to record of Table via dataSource .


has the landlord solved it? I have encountered the same problem

.
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-1e76357-5bf.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-1e76357-5bf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?