[Doc] update changelog

This commit is contained in:
陈嘉涵
2018-10-18 18:50:23 +08:00
parent 2228e46733
commit 2e8d7e0b4f
107 changed files with 810 additions and 1212 deletions
+6 -6
View File
@@ -134,7 +134,7 @@ export default {
### ContactCard API
| Attribute | Description | Type | Default |
|-----------|-----------|-----------|-------------|
|------|------|------|------|
| type | Can be set to `add` `edit` | `String` | `add` |
| name | Name | `String` | - |
| tel | Phone | `String` | - |
@@ -143,7 +143,7 @@ export default {
### ContactList API
| Attribute | Description | Type | Default |
|-----------|-----------|-----------|-------------|-------------|
|------|------|------|------|------|
| v-model | Id of chosen contact | `String | Number` | - |
| list | Contact list | `Array` | `[]` |
| add-text | Add button text | `String` | `Add new contact` |
@@ -151,14 +151,14 @@ export default {
### ContactList Event
| Event | Description | Arguments |
|-----------|-----------|-----------|
|------|------|------|
| add | Triggered when click add button | - |
| edit | Triggered when click edit button | item: contact objectindex |
| select | Triggered when select contact | item: contact object |
### ContactEdit API
| Attribute | Description | Type | Default |
|-----------|-----------|-----------|-------------|-------------|
|------|------|------|------|------|
| contact-info | Contact Info | `Object` | `[]` |
| is-edit | Whether is editing | `Boolean` | `false` |
| is-saving | Whether to show save button loading status | `Boolean` | `false` |
@@ -168,14 +168,14 @@ export default {
### ContactEdit Event
| Event | Description | Arguments |
|-----------|-----------|-----------|
|------|------|------|
| save | Triggered when click save button | contentcontact info |
| delete | Triggered when click delete button | contentcontact info |
### Contact Data Structure
| key | Description | Type |
|-----------|-----------|-----------|
|------|------|------|
| id | ID | `String | Number` |
| name | Name | `String` |
| tel | Phone | `String` |