Răsfoiți Sursa

Merge pull request #1922 from njleonzhang/reviseReadme

revise form readme
baiyaaaaa 8 ani în urmă
părinte
comite
77381c7998
3 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 1 1
      examples/docs/en-US/form.md
  2. 1 1
      examples/docs/zh-CN/form.md
  3. 1 1
      packages/form/README.md

+ 1 - 1
examples/docs/en-US/form.md

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

+ 1 - 1
examples/docs/zh-CN/form.md

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

+ 1 - 1
packages/form/README.md

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