docs: update version tag

This commit is contained in:
陈嘉涵
2020-01-10 21:06:05 +08:00
parent 6555af4f76
commit e16239e426
124 changed files with 1974 additions and 1974 deletions
+12 -12
View File
@@ -81,9 +81,9 @@ export default {
### Sidebar Props
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| v-model | Index of chosen item | *string \| number* | `0` | - |
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | Index of chosen item | *string \| number* | `0` |
### Sidebar Events
@@ -93,15 +93,15 @@ export default {
### SidebarItem Props
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| title | Content | *string* | `''` | - |
| dot | Whether to show red dot | *boolean* | `false` | 2.2.1 |
| info | Content of the badge | *string \| number* | `''` | - |
| disabled | Whether to be disabled | *boolean* | `false` | 2.2.0 |
| 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 |
| Attribute | Description | Type | Default |
|------|------|------|------|
| title | Content | *string* | `''` |
| dot `v2.2.1` | Whether to show red dot | *boolean* | `false` |
| info | Content of the badge | *string \| number* | `''` |
| disabled `v2.2.0` | Whether to be disabled | *boolean* | `false` |
| url | Link | *string* | - |
| to `v2.0.4` | Target route of the link, same as to of vue-router | *string \| object* | - |
| replace `v2.0.4` | If true, the navigation will not leave a history record | *boolean* | `false` |
### SidebarItem Events
+12 -12
View File
@@ -90,9 +90,9 @@ export default {
### Sidebar Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| v-model | 当前导航项的索引 | *string \| number* | `0` | 2.0.4 |
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| v-model `v2.0.4` | 当前导航项的索引 | *string \| number* | `0` |
### Sidebar Events
@@ -102,15 +102,15 @@ export default {
### SidebarItem Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| title | 内容 | *string* | `''` | - |
| dot | 是否显示右上角小红点 | *boolean* | `false` | 2.2.1 |
| info | 右上角徽标的内容 | *string \| number* | - | - |
| disabled | 是否禁用该项 | *boolean* | `false` | 2.2.0 |
| url | 点击后跳转的链接地址 | *string* | - | - |
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | 2.0.4 |
| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | 2.0.4 |
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| title | 内容 | *string* | `''` |
| dot `v2.2.1` | 是否显示右上角小红点 | *boolean* | `false` |
| info | 右上角徽标的内容 | *string \| number* | - |
| disabled `v2.2.0` | 是否禁用该项 | *boolean* | `false` |
| url | 点击后跳转的链接地址 | *string* | - |
| to `v2.0.4` | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - |
| replace `v2.0.4` | 是否在跳转时替换当前页面历史 | *boolean* | `false` |
### SidebarItem Events