Commit 3c97e964 authored by 李文富's avatar 李文富 Committed by 陈帅

selectedRows is always an array (#3129)

parent 9037106f
......@@ -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({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment