docs: type highlight (#4264)
This commit is contained in:
@@ -48,7 +48,7 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Index of chosen item | `string | number` | `0` | - |
|
||||
| v-model | Index of chosen item | *string \| number* | `0` | - |
|
||||
|
||||
### Sidebar Events
|
||||
|
||||
@@ -60,11 +60,11 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| title | Content | `string` | `''` | - |
|
||||
| info | Info Message | `string | number` | `''` | - |
|
||||
| url | Link | `string` | - | - |
|
||||
| to | Target route of the link, same as to of vue-router | `string | object` | - | 2.0.4 |
|
||||
| replace | If true, the navigation will not leave a history record | `boolean` | `false` | 2.0.4 |
|
||||
| title | Content | *string* | `''` | - |
|
||||
| info | Info Message | *string \| number* | `''` | - |
|
||||
| url | Link | *string* | - | - |
|
||||
| to | Target route of the link, same as to of vue-router | *string \| object* | - | 2.0.4 |
|
||||
| replace | If true, the navigation will not leave a history record | *boolean* | `false` | 2.0.4 |
|
||||
|
||||
### SidebarItem Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user