docs: add version tip in en docs (#4262)

This commit is contained in:
neverland
2019-08-27 19:56:30 +08:00
committed by GitHub
parent 8ee0bef715
commit 959efb0ce6
88 changed files with 865 additions and 864 deletions
+16 -16
View File
@@ -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