From 698aa3a01a6d9399b7e91d687a01bdb6090c6e6e Mon Sep 17 00:00:00 2001 From: hongxuWei Date: Thu, 30 Aug 2018 08:43:35 +0800 Subject: [PATCH] Fix the bug of edit cell demo --- components/table/demo/edit-cell.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/table/demo/edit-cell.md b/components/table/demo/edit-cell.md index da61046cd0..117138d03d 100644 --- a/components/table/demo/edit-cell.md +++ b/components/table/demo/edit-cell.md @@ -141,7 +141,7 @@ class EditableTable extends React.Component { dataIndex: 'operation', render: (text, record) => { return ( - this.state.dataSource.length > 1 + this.state.dataSource.length >= 1 ? ( this.handleDelete(record.key)}> Delete