From 0f986c07a229a20a697605472c6713219b27c3e6 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 13 Sep 2016 18:26:52 +0800 Subject: [PATCH] update form index.md --- components/form/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/form/index.md b/components/form/index.md index 1cf6d6965d..cda80b873e 100644 --- a/components/form/index.md +++ b/components/form/index.md @@ -67,7 +67,7 @@ CustomizedForm = Form.create({})(CustomizedForm); |-----------|------------------------------------------|------------| | getFieldsValue | 获取一组输入控件的值,如不传入参数,则获取全部组件的值 | Function([fieldNames: string[]]) | | getFieldValue | 获取一个输入控件的值 | Function(fieldName: string) | -| setFieldsValue | 设置一组输入控件的值 | Function(obj: object) | +| setFieldsValue | 设置一组输入控件的值 | Function({ [fieldName]: value }) | | setFields | 设置一组输入控件的值与 Error | Function(obj: object) | | validateFields | 校验并获取一组输入域的值与 Error | Function([fieldNames: string[]], [options: object], callback: Function(errors, values)) | | validateFieldsAndScroll | 与 `validateFields` 相似,但校验完后,如果校验不通过的菜单域不在可见范围内,则自动滚动进可见范围 | 参考 `validateFields` |