diff --git a/src/pages/List/TableList.js b/src/pages/List/TableList.js index eed64c7222b4bde8dee38496ef6db11f275c04b0..102cf858f090d5ec9f04ef2ab7dc46350e62841f 100644 --- a/src/pages/List/TableList.js +++ b/src/pages/List/TableList.js @@ -405,7 +405,7 @@ class TableList extends PureComponent { const { dispatch } = this.props; const { selectedRows } = this.state; - if (!selectedRows) return; + if (selectedRows.length === 0) return; switch (e.key) { case 'remove': dispatch({