From ada653685c62e55b2d293f93470eaad59fb5cafb Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 17 四月 2021 11:32:09 +0800
Subject: [PATCH] 2021-04-17

---
 src/tabviews/custom/components/chart/antv-dashboard/index.jsx |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/tabviews/custom/components/chart/antv-dashboard/index.jsx b/src/tabviews/custom/components/chart/antv-dashboard/index.jsx
index 2fe7eb4..f5f337f 100644
--- a/src/tabviews/custom/components/chart/antv-dashboard/index.jsx
+++ b/src/tabviews/custom/components/chart/antv-dashboard/index.jsx
@@ -86,12 +86,7 @@
       _sync = false
     }
 
-
-    if (_config.style) {
-      _config.style = {..._config.style, minHeight: (config.plot.height || 400)}
-    } else {
-      _config.style = {minHeight: (config.plot.height || 400)}
-    }
+    _config.style.height = config.plot.height || 400
 
     this.setState({
       config: _config,

--
Gitblit v1.8.0