mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 20:28:52 +08:00
Merge pull request #1922 from njleonzhang/reviseReadme
revise form readme
This commit is contained in:
commit
77381c7998
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user