diff --git a/src/components/tab_switcher/tab_switcher.jsx b/src/components/tab_switcher/tab_switcher.jsx index a3c5b61cd..07327af27 100644 --- a/src/components/tab_switcher/tab_switcher.jsx +++ b/src/components/tab_switcher/tab_switcher.jsx @@ -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 } },