mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-22 14:39:16 +08:00
Revert "fix(Tabs): should scroll to current content when mounted (#7411)"
This reverts commit f504245074fb0450ec69f5c64577be2716b80ac4.
This commit is contained in:
parent
0cb55c33e0
commit
9be853f7ac
@ -189,7 +189,6 @@ export default createComponent({
|
|||||||
this.inited = true;
|
this.inited = true;
|
||||||
this.tabHeight = getVisibleHeight(this.$refs.wrap);
|
this.tabHeight = getVisibleHeight(this.$refs.wrap);
|
||||||
this.scrollIntoView(true);
|
this.scrollIntoView(true);
|
||||||
this.scrollToCurrentContent(true);
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user