fix: update "from" to "form" in code example (#10628)

update `save` method parameter from `from` to `form` in code example
This commit is contained in:
Douglas Mason 2018-05-22 22:55:20 -04:00 committed by 偏右
parent fafd83cadc
commit acb56281f8

View File

@ -146,8 +146,8 @@ class EditableTable extends React.Component {
edit(key) {
this.setState({ editingKey: key });
}
save(from, key) {
from.validateFields((error, row) => {
save(form, key) {
form.validateFields((error, row) => {
if (error) {
return;
}