mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
Merge pull request #5386 from johnsonwong666/hotfix/fix_issue_5135
fix(tab): fix tab async
This commit is contained in:
commit
4b86663562
@ -197,6 +197,9 @@ VantComponent({
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (currentIndex === data.currentIndex) {
|
if (currentIndex === data.currentIndex) {
|
||||||
|
if (!data.inited) {
|
||||||
|
this.resize();
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user