diff --git a/packages/tabs/index.ts b/packages/tabs/index.ts index 0af7cd7b..6968995b 100644 --- a/packages/tabs/index.ts +++ b/packages/tabs/index.ts @@ -197,6 +197,9 @@ VantComponent({ }); if (currentIndex === data.currentIndex) { + if (!data.inited) { + this.resize(); + } return; }