mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Tabs): incorrect animation when content is empty (#7354)
This commit is contained in:
parent
7d0f4fc9ed
commit
27d4cb7acf
@ -64,7 +64,7 @@ export default createComponent({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!slotContent) {
|
if (!slotContent && !parent.animated) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user