docs: update numeric type

This commit is contained in:
陈嘉涵
2020-01-29 10:11:09 +08:00
parent 36ba412f70
commit c6f424baa7
85 changed files with 197 additions and 197 deletions
+2 -2
View File
@@ -151,7 +151,7 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | Id of chosen contact | *string \| number* | - |
| v-model | Id of chosen contact | *number \| string* | - |
| list | Contact list | *Contact[]* | `[]` |
| add-text | Add button text | *string* | `Add new contact` |
| default-tag-text `v2.3.0` | Default tag text | *string* | - |
@@ -188,7 +188,7 @@ export default {
| key | Description | Type |
|------|------|------|
| id | ID | *string \| number* |
| id | ID | *number \| string* |
| name | Name | *string* |
| tel | Phone | *string* |
| isDefault | Is default contact | *boolean* |
+3 -3
View File
@@ -155,7 +155,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| v-model | 当前选中联系人的 id | *string \| number* | - |
| v-model | 当前选中联系人的 id | *number \| string* | - |
| list | 联系人列表 | *Contact[]* | `[]` |
| add-text | 新建按钮文案 | *string* | `新建联系人` |
| default-tag-text `v2.3.0` | 默认联系人标签文案 | *string* | - |
@@ -191,7 +191,7 @@ export default {
| 键名 | 说明 | 类型 |
|------|------|------|
| id | 每位联系人的唯一标识 | *string \| number* |
| id | 每位联系人的唯一标识 | *number \| string* |
| name | 联系人姓名 | *string* |
| tel | 联系人手机号 | *string \| number* |
| tel | 联系人手机号 | *number \| string* |
| isDefault | 是否为默认联系人 | *boolean* |