fix(Tabs): incorrect animation when content is empty (#7354)

This commit is contained in:
neverland
2020-10-17 23:10:37 +08:00
committed by GitHub
parent 7d0f4fc9ed
commit 27d4cb7acf

View File

@@ -64,7 +64,7 @@ export default createComponent({
);
}
if (!slotContent) {
if (!slotContent && !parent.animated) {
return;
}