fixed vaartis issue. probably not a real fix tho
This commit is contained in:
parent
0bca8203e6
commit
c39025f1b8
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ export default {
|
|||
this.onSwitch.call(null, this.slots()[index].key)
|
||||
}
|
||||
this.active = index
|
||||
if (this.scrollableTabs) {
|
||||
if (this.scrollableTabs && this.$refs.contents) {
|
||||
this.$refs.contents.scrollTop = 0
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue