Browse Source

selectedRows is always an array (#3129)

pull/3134/head
李文富 7 years ago
committed by 陈帅
parent
commit
3c97e96471
  1. 2
      src/pages/List/TableList.js

2
src/pages/List/TableList.js

@ -405,7 +405,7 @@ class TableList extends PureComponent {
const { dispatch } = this.props; const { dispatch } = this.props;
const { selectedRows } = this.state; const { selectedRows } = this.state;
if (!selectedRows) return; if (selectedRows.length === 0) return;
switch (e.key) { switch (e.key) {
case 'remove': case 'remove':
dispatch({ dispatch({

Loading…
Cancel
Save