|
|
@ -132,7 +132,7 @@ export default class PageHeader extends PureComponent { |
|
|
render() { |
|
|
render() { |
|
|
const { |
|
|
const { |
|
|
title, logo, action, content, extraContent, |
|
|
title, logo, action, content, extraContent, |
|
|
tabList, className, tabActiveKey, |
|
|
tabList, className, tabActiveKey, tabBarExtraContent, |
|
|
} = this.props; |
|
|
} = this.props; |
|
|
const clsString = classNames(styles.pageHeader, className); |
|
|
const clsString = classNames(styles.pageHeader, className); |
|
|
|
|
|
|
|
|
@ -171,6 +171,7 @@ export default class PageHeader extends PureComponent { |
|
|
className={styles.tabs} |
|
|
className={styles.tabs} |
|
|
{...activeKeyProps} |
|
|
{...activeKeyProps} |
|
|
onChange={this.onChange} |
|
|
onChange={this.onChange} |
|
|
|
|
|
tabBarExtraContent={tabBarExtraContent} |
|
|
> |
|
|
> |
|
|
{ |
|
|
{ |
|
|
tabList.map(item => <TabPane tab={item.tab} key={item.key} />) |
|
|
tabList.map(item => <TabPane tab={item.tab} key={item.key} />) |
|
|
|