fixed vaartis issue. probably not a real fix tho

This commit is contained in:
Henry Jameson 2026-07-15 18:43:15 +03:00
commit c39025f1b8

View file

@ -86,7 +86,7 @@ export default {
this.onSwitch.call(null, this.slots()[index].key) this.onSwitch.call(null, this.slots()[index].key)
} }
this.active = index this.active = index
if (this.scrollableTabs) { if (this.scrollableTabs && this.$refs.contents) {
this.$refs.contents.scrollTop = 0 this.$refs.contents.scrollTop = 0
} }
}, },