diff --git a/components/form/index.en-US.md b/components/form/index.en-US.md index 6323a01a15..8a229413aa 100644 --- a/components/form/index.en-US.md +++ b/components/form/index.en-US.md @@ -66,7 +66,7 @@ If the form has been decorated by `Form.create` then it has `this.props.form` pr > Note: Before using `getFieldsValue` `getFieldValue` `setFieldsValue` and so on, please make sure that corresponding field had been registered with `getFieldDecorator`. -| Property | Description | Type | +| Method | Description | Type | |-----------|------------------------------------------|------------| | getFieldsValue | Get the specified fields' values. If you don't specify a parameter, you will get all fields' values. | Function([fieldNames: string[]]) | | getFieldValue | Get the value of a field. | Function(fieldName: string) | diff --git a/components/form/index.zh-CN.md b/components/form/index.zh-CN.md index c47299ecad..67da8c19b9 100644 --- a/components/form/index.zh-CN.md +++ b/components/form/index.zh-CN.md @@ -68,7 +68,7 @@ CustomizedForm = Form.create({})(CustomizedForm); > 注意:使用 `getFieldsValue` `getFieldValue` `setFieldsValue` 等时,应确保对应的 field 已经用 `getFieldDecorator` 注册过了。 -| 参数 | 说明 | 类型 | +| 方法      | 说明                                     | 类型       | |-----------|------------------------------------------|------------| | getFieldsValue | 获取一组输入控件的值,如不传入参数,则获取全部组件的值 | Function([fieldNames: string[]]) | | getFieldValue | 获取一个输入控件的值 | Function(fieldName: string) |