Merge branch '2.x' into dev
This commit is contained in:
@@ -267,6 +267,7 @@ export default {
|
||||
| to | Target route of the link, same as to of vue-router | _string \| object_ | - |
|
||||
| replace | If true, the navigation will not leave a history record | _boolean_ | `false` |
|
||||
| title-style | Custom title style | _any_ | - |
|
||||
| title-class | Custom title class name | _any_ | - |
|
||||
|
||||
### Tabs Events
|
||||
|
||||
|
||||
@@ -274,6 +274,7 @@ export default {
|
||||
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | _string \| object_ | - |
|
||||
| replace | 是否在跳转时替换当前页面历史 | _boolean_ | `false` |
|
||||
| title-style | 自定义标题样式 | _any_ | - |
|
||||
| title-class | 自定义标题类名 | _any_ | - |
|
||||
|
||||
### Tabs Events
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ export default createComponent({
|
||||
badge: [Number, String],
|
||||
title: String,
|
||||
titleStyle: null,
|
||||
titleClass: null,
|
||||
disabled: Boolean,
|
||||
},
|
||||
|
||||
@@ -56,6 +57,7 @@ export default createComponent({
|
||||
() => props.title,
|
||||
() => {
|
||||
parent.setLine();
|
||||
parent.scrollIntoView();
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user