mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
modify 参数
to 方法
(#7294)
* modify `参数` to `方法` * modify `Property` to `Method` * dummy copy-paste
This commit is contained in:
parent
ac5bdc6983
commit
62b72d6c51
@ -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) |
|
||||
|
@ -68,7 +68,7 @@ CustomizedForm = Form.create({})(CustomizedForm);
|
||||
|
||||
> 注意:使用 `getFieldsValue` `getFieldValue` `setFieldsValue` 等时,应确保对应的 field 已经用 `getFieldDecorator` 注册过了。
|
||||
|
||||
| 参数 | 说明 | 类型 |
|
||||
| 方法 | 说明 | 类型 |
|
||||
|-----------|------------------------------------------|------------|
|
||||
| getFieldsValue | 获取一组输入控件的值,如不传入参数,则获取全部组件的值 | Function([fieldNames: string[]]) |
|
||||
| getFieldValue | 获取一个输入控件的值 | Function(fieldName: string) |
|
||||
|
Loading…
Reference in New Issue
Block a user