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
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| v-model | 当前导航项的索引 | `string | number` | `0` | 2.0.4 |
|
||||
| v-model | 当前导航项的索引 | *string \| number* | `0` | 2.0.4 |
|
||||
|
||||
### Sidebar Events
|
||||
|
||||
@@ -64,11 +64,11 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| title | 内容 | `string` | `''` | - |
|
||||
| info | 提示消息 | `string | number` | `''` | - |
|
||||
| url | 跳转链接 | `string` | - | - |
|
||||
| to | 路由跳转对象,同 vue-router 的 to 属性 | `string | object` | - | 2.0.4 |
|
||||
| replace | 跳转时是否替换当前页面历史 | `boolean` | `false` | 2.0.4 |
|
||||
| title | 内容 | *string* | `''` | - |
|
||||
| info | 提示消息 | *string \| number* | `''` | - |
|
||||
| url | 跳转链接 | *string* | - | - |
|
||||
| to | 路由跳转对象,同 vue-router 的 to 属性 | *string \| object* | - | 2.0.4 |
|
||||
| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | 2.0.4 |
|
||||
|
||||
### SidebarItem Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user