Merge pull request #1922 from njleonzhang/reviseReadme

revise form readme
This commit is contained in:
baiyaaaaa 2016-12-22 16:35:10 +08:00 committed by GitHub
commit 77381c7998
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -803,7 +803,7 @@
|---------- |-------------- |
| validate(cb) | 对整个表单进行校验的方法 |
| validateField(prop, cb) | 对部分表单字段进行校验的方法 |
| resetFields | 对整个表单进行重置,将所有字段值重置为并移除校验结果 |
| resetFields | 对整个表单进行重置,将所有字段值重置为初始值并移除校验结果 |
### Form-Item Attributes

View File

@ -45,7 +45,7 @@ Vue.component('el-form-item', ElForm)
|---------- |-------------- |
| validate(cb) | 对整个表单进行校验的方法 |
| validateField(prop, cb) | 对部分表单字段进行校验的方法 |
| resetFields | 对整个表单进行重置,将所有字段值重置为并移除校验结果 |
| resetFields | 对整个表单进行重置,将所有字段值重置为初始值并移除校验结果 |
### Form-Item Attributes