From 6083bd7ac29e7976b11140789dbac30c36dcbdb7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 24 三月 2022 15:17:13 +0800
Subject: [PATCH] 2022-03-24

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

diff --git a/src/tabviews/custom/components/tabs/antv-tabs/index.jsx b/src/tabviews/custom/components/tabs/antv-tabs/index.jsx
index 1d5ac6a..6e685ca 100644
--- a/src/tabviews/custom/components/tabs/antv-tabs/index.jsx
+++ b/src/tabviews/custom/components/tabs/antv-tabs/index.jsx
@@ -76,7 +76,7 @@
           tabs: {...tabs, subtabs: this.props.config.subtabs}
         })
       } else {
-        let val = data[tabs.setting.controlField]
+        let val = data[tabs.setting.controlField] + ''
         this.setState({
           tabs: {...tabs, subtabs: this.props.config.subtabs.filter(tab => {
             if (tab.controlVal === val) {

--
Gitblit v1.8.0