From 753ac5f57b10588e225c1d82203b13a81bc9c9a7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 03 十二月 2020 18:36:26 +0800
Subject: [PATCH] 2020-12-03

---
 src/tabviews/custom/components/tabs/antv-tabs/index.jsx |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/custom/components/tabs/antv-tabs/index.jsx b/src/tabviews/custom/components/tabs/antv-tabs/index.jsx
index d8ef472..ec047e3 100644
--- a/src/tabviews/custom/components/tabs/antv-tabs/index.jsx
+++ b/src/tabviews/custom/components/tabs/antv-tabs/index.jsx
@@ -20,13 +20,15 @@
   }
 
   state = {
-    tabs: null
+    tabs: null,
+    parentIds: []
   }
 
   UNSAFE_componentWillMount () {
     const { config } = this.props
     this.setState({
-      tabs: config
+      tabs: config,
+      parentIds: config.parentIds || []
     })
   }
 

--
Gitblit v1.8.0