From fc55bf4131e3056a84ac7bae16540a4e714214b8 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 16 二月 2023 18:13:00 +0800
Subject: [PATCH] 2023-02-16

---
 src/menu/datasource/index.jsx |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/menu/datasource/index.jsx b/src/menu/datasource/index.jsx
index 52a1544..c40ff35 100644
--- a/src/menu/datasource/index.jsx
+++ b/src/menu/datasource/index.jsx
@@ -198,6 +198,10 @@
 
       res.setting.maxScript = maxScript
 
+      if (config.subtype !== 'dualdatacard') {
+        delete res.subColumns
+      }
+
       this.setState({loading: false, visible: false})
       this.props.updateConfig({...config, ...res})
     }, () => {

--
Gitblit v1.8.0