diff --git a/src/contact-card/README.md b/src/contact-card/README.md index 7c4f95b5b..e1e2d3e1e 100644 --- a/src/contact-card/README.md +++ b/src/contact-card/README.md @@ -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* | diff --git a/src/contact-card/README.zh-CN.md b/src/contact-card/README.zh-CN.md index 8ddb795be..c5883b390 100644 --- a/src/contact-card/README.zh-CN.md +++ b/src/contact-card/README.zh-CN.md @@ -159,6 +159,7 @@ export default { | v-model | 当前选中联系人的 id | *string \| number* | - | - | | list | 联系人列表 | *Contact[]* | `[]` | - | | add-text | 新建按钮文案 | *string* | `新建联系人` | - | +| default-tag-text | 默认联系人标签文案 | *string* | - | - | ### ContactList Events @@ -194,3 +195,4 @@ export default { | id | 每位联系人的唯一标识 | *string \| number* | | name | 联系人姓名 | *string* | | tel | 联系人手机号 | *string \| number* | +| isDefault | 是否为默认联系人 | *boolean* | diff --git a/src/contact-card/demo/index.vue b/src/contact-card/demo/index.vue index cef09488e..98a912098 100644 --- a/src/contact-card/demo/index.vue +++ b/src/contact-card/demo/index.vue @@ -16,6 +16,7 @@