feat(Tab): add to、url、replace prop (#4422)

This commit is contained in:
neverland
2019-09-11 11:15:53 +08:00
committed by GitHub
parent 6069d72df4
commit eb32c6b02e
11 changed files with 25 additions and 15 deletions
+2 -2
View File
@@ -67,8 +67,8 @@ export default {
| title | 内容 | *string* | `''` | - |
| 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 |
| url | 点击后跳转链接地址 | *string* | - | - |
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | 2.0.4 |
| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | 2.0.4 |
### SidebarItem Events