fix: renderTabBar not work #2157 (#2158)

close #2157
pull/2166/head
PanStar 2020-04-27 13:52:11 +08:00 committed by GitHub
parent 5aad5681e5
commit fd28043172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@ const TabBar = {
} else {
RenderTabBar = <ScrollableInkTabBar {...renderProps} />;
}
return cloneElement(RenderTabBar);
// https://github.com/vueComponent/ant-design-vue/issues/2157
return cloneElement(RenderTabBar, renderProps);
},
};