docs: add version tip in en docs (#4262)

This commit is contained in:
neverland
2019-08-27 19:56:30 +08:00
committed by GitHub
parent 8ee0bef715
commit 959efb0ce6
88 changed files with 865 additions and 864 deletions
+10 -8
View File
@@ -46,9 +46,9 @@ export default {
### Sidebar Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | Index of chosen item | `string | number` | `0` |
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| v-model | Index of chosen item | `string | number` | `0` | - |
### Sidebar Events
@@ -58,11 +58,13 @@ export default {
### SidebarItem Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| title | Content | `string` | `''` |
| info | Info Message | `string | number` | `''` |
| url | Link | `string` | - |
| 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 |
### SidebarItem Events