Table plus rowSelection attribute cannot be checked for antd

Table adds rowSelection attribute. As long as setState selectedRowKeys is checked, it cannot be checked. There is no response when clicking on it. I do not know whether it is the bug; of antd itself

.

antd version: 3.10.0

onSelectChange = (selectedRowKeys, selectedRows) => {
   this.setState({selectedRowKeys,selectedRows});
}
render(){
    const rowSelection = {
      selectedRowKeys,
      onChange: this.onSelectChange,
    };
    return (
       <div>
           <Table
              rowKey={(record, index) => index}
              bordered
              scroll={{y:600}}
              pagination={false}
              loading={loading}
              columns={columns}
              dataSource={dataSource}
              rowSelection={dataSource.length?rowSelection:null}
            />
       </div>
    )
}


personal negligence


me too, how to solve

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