mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(tab): async tab active
This commit is contained in:
parent
57859ac402
commit
53e4a0d3f9
@ -197,6 +197,10 @@ VantComponent({
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (currentIndex === data.currentIndex) {
|
if (currentIndex === data.currentIndex) {
|
||||||
|
if (!data.inited) {
|
||||||
|
this.resize();
|
||||||
|
return;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user