docs: type highlight (#4264)
This commit is contained in:
+10
-10
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user