From 35347335e60361776b5fd2016707276ee8d24e57 Mon Sep 17 00:00:00 2001 From: huayj Date: Tue, 27 Aug 2019 17:04:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3record=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/TableRow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TableRow.js b/src/TableRow.js index a6bcc18..c0d0b6d 100644 --- a/src/TableRow.js +++ b/src/TableRow.js @@ -517,7 +517,7 @@ class TableRow extends Component{ if (!visible) { style.display = 'none'; } - if(record._checked){ + if(record && record._checked){ className += ' selected'; } return (