mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 15:39:15 +08:00
[bugfix] Tab: incorrect title position when insert tab pane (#4091)
This commit is contained in:
parent
4d3e9a6c6c
commit
26aac6037b
@ -110,8 +110,11 @@ export default createComponent({
|
||||
|
||||
children() {
|
||||
this.setCurrentIndexByName(this.currentName || this.active);
|
||||
this.scrollIntoView();
|
||||
this.setLine();
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.scrollIntoView(true);
|
||||
});
|
||||
},
|
||||
|
||||
currentIndex() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user