From d45da58175f69a237a7781272f919139f607eab2 Mon Sep 17 00:00:00 2001 From: Pan Star <605215314@qq.com> Date: Sun, 26 Apr 2020 20:31:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20renderTabBar=E5=A4=B1=E6=95=88=20#2157?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 ff87d28d3c..f5355d40d0 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); }, };