docs: add version tip in en docs (#4262)
This commit is contained in:
+16
-16
@@ -135,12 +135,12 @@ export default {
|
||||
|
||||
### ContactCard Props
|
||||
|
||||
| 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` |
|
||||
| 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` | - |
|
||||
|
||||
### ContactCard Events
|
||||
|
||||
@@ -150,11 +150,11 @@ export default {
|
||||
|
||||
### ContactList Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
| 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` |
|
||||
| v-model | Id of chosen contact | `string | number` | - | - |
|
||||
| list | Contact list | `Contact[]` | `[]` | - |
|
||||
| add-text | Add button text | `string` | `Add new contact` | - |
|
||||
|
||||
### ContactList Events
|
||||
|
||||
@@ -166,13 +166,13 @@ export default {
|
||||
|
||||
### ContactEdit Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
| 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` | - |
|
||||
| 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` | - | - |
|
||||
|
||||
### ContactEdit Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user