Compare commits
3 commits
38a565e0e7
...
e3d80101cb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3d80101cb | ||
|
|
39d77c6ff9 | ||
|
|
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