From fd28043172684bf4546f1da1a1e3c60e2594149c Mon Sep 17 00:00:00 2001 From: PanStar Date: Mon, 27 Apr 2020 13:52:11 +0800 Subject: [PATCH] fix: renderTabBar not work #2157 (#2158) close #2157 --- components/tabs/TabBar.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tabs/TabBar.jsx b/components/tabs/TabBar.jsx index ff87d28d3..f5355d40d 100644 --- a/components/tabs/TabBar.jsx +++ b/components/tabs/TabBar.jsx @@ -75,8 +75,8 @@ const TabBar = { } else { RenderTabBar = ; } - - return cloneElement(RenderTabBar); + // https://github.com/vueComponent/ant-design-vue/issues/2157 + return cloneElement(RenderTabBar, renderProps); }, };