feat(ContactList): refactor style & add new prop defaultTagText (#5089)
This commit is contained in:
@@ -155,6 +155,7 @@ export 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 | Default tag text | *string* | - | - |
|
||||
|
||||
### ContactList Events
|
||||
|
||||
@@ -164,6 +165,7 @@ export default {
|
||||
| edit | Triggered when click edit button | item: contact object,index |
|
||||
| select | Triggered when select contact | item: contact object |
|
||||
|
||||
|
||||
### ContactEdit Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
@@ -190,3 +192,4 @@ export default {
|
||||
| id | ID | *string \| number* |
|
||||
| name | Name | *string* |
|
||||
| tel | Phone | *string* |
|
||||
| isDefault | Is default contact | *boolean* |
|
||||
|
||||
Reference in New Issue
Block a user