mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
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:
parent
fafd83cadc
commit
acb56281f8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user