解决record为空时的报错问题
This commit is contained in:
parent
c4dbadb2ee
commit
35347335e6
|
@ -517,7 +517,7 @@ class TableRow extends Component{
|
||||||
if (!visible) {
|
if (!visible) {
|
||||||
style.display = 'none';
|
style.display = 'none';
|
||||||
}
|
}
|
||||||
if(record._checked){
|
if(record && record._checked){
|
||||||
className += ' selected';
|
className += ' selected';
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue