Skip to content

Commit 4cc05d2

Browse files
freedomlangtangjinzhou
authored andcommitted
docs(form-cn): Remove duplicate brace (#844)
1 parent 1234627 commit 4cc05d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/form/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ validateFields(['field1', 'field2'], options, (errors, values) => {
150150
| --- | --- | --- | --- |
151151
| id | 必填输入控件唯一标志。支持嵌套式的写法。 | string | |
152152
| options.getValueFromEvent | 可以把 onChange 的参数(如 event)转化为控件的值 | function(..args) | [reference](https://github.com/react-component/form#option-object) |
153-
| options.initialValue | 子节点的初始值,类型、可选值均由子节点决定(注意:由于内部校验时使用 `===` 判断是否变化,建议使用变量缓存所需设置的值而非直接使用字面量)) | | |
153+
| options.initialValue | 子节点的初始值,类型、可选值均由子节点决定(注意:由于内部校验时使用 `===` 判断是否变化,建议使用变量缓存所需设置的值而非直接使用字面量) | | |
154154
| options.normalize | 转换默认的 value 给控件,[一个选择全部的例子](https://codesandbox.io/s/kw4l2vqqmv) | function(value, prevValue, allValues): any | - |
155155
| options.preserve | 即便字段不再使用,也保留该字段的值 | boolean | false |
156156
| options.rules | 校验规则,参考下方文档 | object\[] | |

0 commit comments

Comments
 (0)