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); }, };