From c3554246cc94e566ae9881193680b9f27e2cbd33 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 七月 2023 20:42:49 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/custom/components/tabs/antv-tabs/index.jsx | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/tabviews/custom/components/tabs/antv-tabs/index.jsx b/src/tabviews/custom/components/tabs/antv-tabs/index.jsx index 63eb3e2..5fce84e 100644 --- a/src/tabviews/custom/components/tabs/antv-tabs/index.jsx +++ b/src/tabviews/custom/components/tabs/antv-tabs/index.jsx @@ -14,7 +14,6 @@ class antvTabs extends Component { static propTpyes = { config: PropTypes.object, // 缁勪欢閰嶇疆淇℃伅 - mainSearch: PropTypes.any, // 澶栧眰鎼滅储鏉′欢 } state = { @@ -142,7 +141,6 @@ } render() { - const { mainSearch } = this.props const { tabs } = this.state if (!tabs.subtabs.length) return null @@ -152,7 +150,7 @@ <Tabs defaultActiveKey="1" tabBarStyle={{background: tabs.setting.backgroundColor || 'transparent'}} tabPosition={tabs.setting.position} type={tabs.setting.tabStyle}> {tabs.subtabs.map(tab => ( <TabPane tab={<span id={'tab' + tab.uuid}>{tab.icon ? <MkIcon type={tab.icon} /> : null}{tab.label}</span>} style={{backgroundColor: tab.backgroundColor || 'transparent'}} key={tab.uuid}> - <TabTransfer config={tab} mainSearch={mainSearch}/> + <TabTransfer config={tab}/> </TabPane> ))} </Tabs> -- Gitblit v1.8.0