docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+10 -10
View File
@@ -71,12 +71,12 @@ export default {
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| v-model | Id of chosen address | `string` | - | - |
| list | Address list | `Address[]` | `[]` | - |
| disabled-list | Disabled address list | `Address[]` | `[]` | - |
| disabled-text | Disabled text | `string` | - | - |
| switchable | Whether to allow switch address | `boolean` | `true` | - |
| add-button-text | Add button text | `string` | `Add new address` | - |
| v-model | Id of chosen address | *string* | - | - |
| list | Address list | *Address[]* | `[]` | - |
| disabled-list | Disabled address list | *Address[]* | `[]` | - |
| disabled-text | Disabled text | *string* | - | - |
| switchable | Whether to allow switch address | *boolean* | `true` | - |
| add-button-text | Add button text | *string* | `Add new address` | - |
### Events
@@ -93,10 +93,10 @@ export default {
| Key | Description | Type |
|------|------|------|
| id | Id | `string | number` |
| name | Name | `string` |
| tel | Phone | `string | number` |
| address | Address | `string` |
| id | Id | *string \| number* |
| name | Name | *string* |
| tel | Phone | *string \| number* |
| address | Address | *string* |
### Slots