Browse Source

docs(invoice): update props case

suzigang 3 years ago
parent
commit
40db6e3c3f
2 changed files with 7 additions and 7 deletions
  1. 3 3
      src/packages/__VUE/invoice/doc.en-US.md
  2. 4 4
      src/packages/__VUE/invoice/doc.md

+ 3 - 3
src/packages/__VUE/invoice/doc.en-US.md

@@ -157,8 +157,8 @@ The optional attributes are as follows:
 | type  | Type, eg `input`、`radio` | string                                 |
 | label  | Label         | string                                 |
 | placeholder   | Input placeholder           | string                                  |
-| radioLabel   | Radio label           | string                                  |
-| formItemProp | The v-model field of the form field is required | string | -
+| radio-label   | Radio label           | string                                  |
+| form-item-prop | The v-model field of the form field is required | string | -
 | rules | Check rules,[Refer to FormItem Rule data structure](#/form) | array | []
 | required | Is it a required field | Boolean | `false`
 
@@ -166,4 +166,4 @@ The optional attributes are as follows:
 
 | Event   | Description      | Arguments    |
 |--------|----------------|-------------|
-| onSubmit| Method of submitting form for verification  | Promise  |
+| on-submit| Method of submitting form for verification  | Promise  |

+ 4 - 4
src/packages/__VUE/invoice/doc.md

@@ -143,7 +143,7 @@ export default {
 | 字段 | 说明 | 类型 | 默认值
 |----- | ----- | ----- | -----
 | data | 发票数据 | array | -
-| formValue | 表单数据对象(使用表单校验时,_必填_) | object | -
+| form-value | 表单数据对象(使用表单校验时,_必填_) | object | -
 | submit | 是否显示提交按钮 | boolean | true
 
 ### Data Props
@@ -156,8 +156,8 @@ export default {
 | type  | 类型,可选值有 `input`、`radio` | string                                 |
 | label  | 表单项 label         | string                                 |
 | placeholder   | 输入框 placeholder           | string                                  |
-| radioLabel   | 单选 label           | string                                  |
-| formItemProp | 表单域 v-model 字段, 在使用表单校验功能的情况下,该属性是必填的 | string | -
+| radio-label   | 单选 label           | string                                  |
+| form-item-prop | 表单域 v-model 字段, 在使用表单校验功能的情况下,该属性是必填的 | string | -
 | rules | 校验规则,[可参考 FormItem Rule 数据结构](#/form) | array | []
 | required | 是否显示必填字段的标签旁边的红色星号 | Boolean | `false`
 
@@ -165,4 +165,4 @@ export default {
 
 | 方法名            | 说明                                                               | 参数                | 返回值  |
 |-------------------|--------------------------------------------------------------------|---------------------|---------|
-| onSubmit            | 提交表单的方法                                             | -                   | Promise |
+| on-submit            | 提交表单的方法                                             | -                   | Promise |