Commit 77381c79 authored by baiyaaaaa's avatar baiyaaaaa Committed by GitHub

Merge pull request #1922 from njleonzhang/reviseReadme

revise form readme
parents bad78d02 f409d02f
......@@ -813,7 +813,7 @@ Form component allows you to verify your data, helping you find and correct erro
| ---- | ---- |
| validate(cb) | the method to validate the whole form |
| validateField(prop, cb) | the method to validate a certain form item |
| resetFields | reset all the fields and remove validation result |
| resetFields | reset all the fields to initial value and remove validation result |
### Form-Item Attributes
......
......@@ -803,7 +803,7 @@
|---------- |-------------- |
| validate(cb) | 对整个表单进行校验的方法 |
| validateField(prop, cb) | 对部分表单字段进行校验的方法 |
| resetFields | 对整个表单进行重置,将所有字段值重置为并移除校验结果 |
| resetFields | 对整个表单进行重置,将所有字段值重置为初始值并移除校验结果 |
### Form-Item Attributes
......
......@@ -45,7 +45,7 @@ Vue.component('el-form-item', ElForm)
|---------- |-------------- |
| validate(cb) | 对整个表单进行校验的方法 |
| validateField(prop, cb) | 对部分表单字段进行校验的方法 |
| resetFields | 对整个表单进行重置,将所有字段值重置为并移除校验结果 |
| resetFields | 对整个表单进行重置,将所有字段值重置为初始值并移除校验结果 |
### Form-Item Attributes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment