Skip to content

Commit fd28043

Browse files
authored
fix: renderTabBar not work #2157 (#2158)
close #2157
1 parent 5aad568 commit fd28043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/tabs/TabBar.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ const TabBar = {
7575
} else {
7676
RenderTabBar = <ScrollableInkTabBar {...renderProps} />;
7777
}
78-
79-
return cloneElement(RenderTabBar);
78+
// https://github.com/vueComponent/ant-design-vue/issues/2157
79+
return cloneElement(RenderTabBar, renderProps);
8080
},
8181
};
8282

0 commit comments

Comments
 (0)