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
@@ -131,8 +131,8 @@ Vue.use(Button);
| loading-text | 加载状态提示文字 | *string* | - | - |
| loading-type | 加载图标类型,可选值为`spinner` | *string* | `circular` | - |
| loading-size | 加载图标大小 | *string* | `20px` | - |
| url | 跳转链接 | *string* | - | - |
| to | 路由跳转对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - |
| url | 点击后跳转链接地址 | *string* | - | - |
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - |
| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | - |
### Events