mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
Fix edit-row.md
This commit is contained in:
parent
12b99970f3
commit
96d8fc45f1
@ -162,7 +162,7 @@ class EditableTable extends React.Component {
|
||||
});
|
||||
this.setState({ data: newData, editingKey: '' });
|
||||
} else {
|
||||
newData.push(data);
|
||||
newData.push(row);
|
||||
this.setState({ data: newData, editingKey: '' });
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user