docs: update version tag
This commit is contained in:
+21
-21
@@ -135,12 +135,12 @@ export default {
|
||||
|
||||
### ContactCard Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| type | Can be set to `add` `edit` | *string* | `add` | - |
|
||||
| name | Name | *string* | - | - |
|
||||
| tel | Phone | *string* | - | - |
|
||||
| add-text | Add card text | *string* | `Add contact info` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| type | Can be set to `add` `edit` | *string* | `add` |
|
||||
| name | Name | *string* | - |
|
||||
| tel | Phone | *string* | - |
|
||||
| add-text | Add card text | *string* | `Add contact info` |
|
||||
|
||||
### ContactCard Events
|
||||
|
||||
@@ -150,12 +150,12 @@ export default {
|
||||
|
||||
### ContactList Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Id of chosen contact | *string \| number* | - | - |
|
||||
| list | Contact list | *Contact[]* | `[]` | - |
|
||||
| add-text | Add button text | *string* | `Add new contact` | - |
|
||||
| default-tag-text | Default tag text | *string* | - | 2.3.0 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Id of chosen contact | *string \| number* | - |
|
||||
| list | Contact list | *Contact[]* | `[]` |
|
||||
| add-text | Add button text | *string* | `Add new contact` |
|
||||
| default-tag-text `v2.3.0` | Default tag text | *string* | - |
|
||||
|
||||
### ContactList Events
|
||||
|
||||
@@ -168,15 +168,15 @@ export default {
|
||||
|
||||
### ContactEdit Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| contact-info | Contact Info | *object* | `[]` | - |
|
||||
| is-edit | Whether is editing | *boolean* | `false` | - |
|
||||
| is-saving | Whether to show save button loading status | *boolean* | `false` | - |
|
||||
| is-deleting | Whether to show delete button loading status | *boolean* | `false` | - |
|
||||
| tel-validator | The method to validate tel | *(tel: string) => boolean* | - | - |
|
||||
| show-set-default | Whether to show default contact switch | *boolean* | `false` | 2.3.0 |
|
||||
| set-default-label | default contact switch label | *string* | - | 2.3.0 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| contact-info | Contact Info | *object* | `[]` |
|
||||
| is-edit | Whether is editing | *boolean* | `false` |
|
||||
| is-saving | Whether to show save button loading status | *boolean* | `false` |
|
||||
| is-deleting | Whether to show delete button loading status | *boolean* | `false` |
|
||||
| tel-validator | The method to validate tel | *(tel: string) => boolean* | - |
|
||||
| show-set-default `v2.3.0` | Whether to show default contact switch | *boolean* | `false` |
|
||||
| set-default-label `v2.3.0` | default contact switch label | *string* | - |
|
||||
|
||||
### ContactEdit Events
|
||||
|
||||
|
||||
@@ -139,12 +139,12 @@ export default {
|
||||
|
||||
### ContactCard Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| type | 类型,可选值为 `add` `edit` | *string* | `add` | - |
|
||||
| name | 联系人姓名 | *string* | - | - |
|
||||
| tel | 联系人手机号 | *string* | - | - |
|
||||
| add-text | 添加时的文案提示 | *string* | `添加订单联系人信息` | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| type | 类型,可选值为 `add` `edit` | *string* | `add` |
|
||||
| name | 联系人姓名 | *string* | - |
|
||||
| tel | 联系人手机号 | *string* | - |
|
||||
| add-text | 添加时的文案提示 | *string* | `添加订单联系人信息` |
|
||||
|
||||
### ContactCard Events
|
||||
|
||||
@@ -154,12 +154,12 @@ export default {
|
||||
|
||||
### ContactList Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| v-model | 当前选中联系人的 id | *string \| number* | - | - |
|
||||
| list | 联系人列表 | *Contact[]* | `[]` | - |
|
||||
| add-text | 新建按钮文案 | *string* | `新建联系人` | - |
|
||||
| default-tag-text | 默认联系人标签文案 | *string* | - | 2.3.0 |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| v-model | 当前选中联系人的 id | *string \| number* | - |
|
||||
| list | 联系人列表 | *Contact[]* | `[]` |
|
||||
| add-text | 新建按钮文案 | *string* | `新建联系人` |
|
||||
| default-tag-text `v2.3.0` | 默认联系人标签文案 | *string* | - |
|
||||
|
||||
### ContactList Events
|
||||
|
||||
@@ -171,15 +171,15 @@ export default {
|
||||
|
||||
### ContactEdit Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| contact-info | 联系人信息 | *object* | `[]` | - |
|
||||
| is-edit | 是否为编辑联系人 | *boolean* | `false` | - |
|
||||
| is-saving | 是否显示保存按钮加载动画 | *boolean* | `false` | - |
|
||||
| is-deleting | 是否显示删除按钮加载动画 | *boolean* | `false` | - |
|
||||
| tel-validator | 手机号格式校验函数 | *(tel: string) => boolean* | - | - |
|
||||
| show-set-default | 是否显示默认联系人栏 | *boolean* | `false` | 2.3.0 |
|
||||
| set-default-label | 默认联系人栏文案 | *string* | - | 2.3.0 |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| contact-info | 联系人信息 | *object* | `[]` |
|
||||
| is-edit | 是否为编辑联系人 | *boolean* | `false` |
|
||||
| is-saving | 是否显示保存按钮加载动画 | *boolean* | `false` |
|
||||
| is-deleting | 是否显示删除按钮加载动画 | *boolean* | `false` |
|
||||
| tel-validator | 手机号格式校验函数 | *(tel: string) => boolean* | - |
|
||||
| show-set-default `v2.3.0` | 是否显示默认联系人栏 | *boolean* | `false` |
|
||||
| set-default-label `v2.3.0` | 默认联系人栏文案 | *string* | - |
|
||||
|
||||
### ContactEdit Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user