mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
fix(Tabs): incorrect animation when content is empty (#7354)
This commit is contained in:
@@ -64,7 +64,7 @@ export default createComponent({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!slotContent) {
|
if (!slotContent && !parent.animated) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user