解决record为空时的报错问题

This commit is contained in:
huayj 2019-08-27 17:04:32 +08:00
parent c4dbadb2ee
commit 35347335e6
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ class TableRow extends Component{
if (!visible) {
style.display = 'none';
}
if(record._checked){
if(record && record._checked){
className += ' selected';
}
return (