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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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