diff --git a/packages/tabs/index.vue b/packages/tabs/index.vue index 8712927f6..0e8b26da5 100644 --- a/packages/tabs/index.vue +++ b/packages/tabs/index.vue @@ -156,7 +156,7 @@ export default create({ this.setLine(); // scroll to correct position - if (this.position === 'page-top' || this.position === 'content-bottom') { + if (this.position === 'top' || this.position === 'bottom') { scrollUtils.setScrollTop(window, scrollUtils.getElementTop(this.$el)); } },