提交 900f3936 编写于 作者: D dolymood

docs(form): add version required

上级 44490093
......@@ -471,6 +471,6 @@ CubeForm is a schema-based form generator component.
| Method name | Description | Parameters | Returned value |
| - | - | - | - |
| submit | submit form | skipValidate: default `false`, if skipValidate is `true` then will be trigged submit event without validating | - |
| submit | submit form | skipValidate: default `false`, if skipValidate is `true` then will be trigged submit event without validating<sup>1.12.2+</sup> | - |
| reset | reset form | - | - |
| validate(cb) | validate form | cb: validated callback function, used to async validating cases normally. The arguments is the `valid` value | If supported Promise then the returned value will be Promise instance(Only have resolved state, the resolved value is `valid`), otherwise the returned value is `undefined` |
......@@ -471,6 +471,6 @@
| 方法名 | 说明 | 参数 | 返回值 |
| - | - | - | - |
| submit | 提交表单 | skipValidate, 默认 false,如果为 true 代表不校验 直接 submit | - |
| submit | 提交表单 | skipValidate, 默认 false,如果为 true 代表不校验 直接 submit<sup>1.12.2+</sup> | - |
| reset | 重置表单 | - | - |
| validate(cb) | 校验表单 | cb: 校验完成后回调函数,主要用于异步校验场景,调用参数为 valid 的值 | 如果支持 Promise 的话返回值是 Promise 对象(只有 resolved 状态,值为 valid),否则 undefined |
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册