fix(Tabs): should scroll to current content when mounted (#7411)

This commit is contained in:
neverland
2020-10-26 20:47:43 +08:00
committed by GitHub
parent f64986785d
commit f504245074
+1
View File
@@ -189,6 +189,7 @@ export default createComponent({
this.inited = true;
this.tabHeight = getVisibleHeight(this.$refs.wrap);
this.scrollIntoView(true);
this.scrollToCurrentContent(true);
});
},