From 27d4cb7acfd08550cfe5d7fecf73dc19fd797514 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 17 Oct 2020 23:10:37 +0800 Subject: [PATCH] fix(Tabs): incorrect animation when content is empty (#7354) --- src/tab/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tab/index.js b/src/tab/index.js index b7b9f6d79..7dae84570 100644 --- a/src/tab/index.js +++ b/src/tab/index.js @@ -64,7 +64,7 @@ export default createComponent({ ); } - if (!slotContent) { + if (!slotContent && !parent.animated) { return; }