diff --git a/components/tabs/demo/add.md b/components/tabs/demo/add.md index 66703e6aca..a911f95a84 100644 --- a/components/tabs/demo/add.md +++ b/components/tabs/demo/add.md @@ -1,7 +1,6 @@ # 添加 - order: 4 -- hidden: true 演示添加删除功能。 @@ -23,9 +22,6 @@ var addStyle = { pointerEvents: 'auto', color: 'black', }; -var extraStyle = { - float: 'right' -}; var Test = React.createClass({ getInitialState() { @@ -77,7 +73,7 @@ var Test = React.createClass({ return }> + tabBarExtraContent={}> { this.state.tabs.map((t)=>{ return {t.title} }> diff --git a/package.json b/package.json index 69bfafe9f7..fdb6c29aae 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "rc-steps": "~1.3.2", "rc-switch": "~1.2.0", "rc-table": "~3.2.0", - "rc-tabs": "~5.4.2", + "rc-tabs": "~5.4.3", "rc-tooltip": "~3.0.1", "rc-tree": "~0.16.2", "rc-upload": "~1.6.4",