From 15b14f459b894e3dd678ec5a591efe3d016c9818 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 23 一月 2022 00:36:09 +0800
Subject: [PATCH] 2022-01-23

---
 src/mob/components/tabs/antv-tabs/index.jsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mob/components/tabs/antv-tabs/index.jsx b/src/mob/components/tabs/antv-tabs/index.jsx
index c644570..245e7a5 100644
--- a/src/mob/components/tabs/antv-tabs/index.jsx
+++ b/src/mob/components/tabs/antv-tabs/index.jsx
@@ -331,6 +331,7 @@
     editab.label = res.label
     editab.icon = res.icon
     // editab.hasSearch = res.hasSearch || ''
+    editab.backgroundColor = res.backgroundColor
     editab.blacklist = res.blacklist
 
     if (editab.uuid) {
@@ -398,7 +399,7 @@
               } trigger="hover">
                 <span style={_tabStyle}>{tab.icon ? <MkIcon type={tab.icon} /> : null}{tab.label}</span>
               </Popover>
-            } key={tab.uuid}>
+            } key={tab.uuid} style={{backgroundColor: tab.backgroundColor || 'transparent'}}>
               {/* {appType === 'mob' && tabs.setting.display === 'inline-block' && tab.hasSearch === 'icon' ?
                 <SearchOutlined className="search-icon" onDoubleClick={() => this.setSearch(tab)}/> : null} */}
               <TabComponents config={tab} handleList={this.updateTabComponent} deleteCard={this.deleteCard} />

--
Gitblit v1.8.0