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-pie/index.jsx |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/tabviews/custom/components/chart/antv-pie/index.jsx b/src/tabviews/custom/components/chart/antv-pie/index.jsx
index c7fbd33..8a74a02 100644
--- a/src/tabviews/custom/components/chart/antv-pie/index.jsx
+++ b/src/tabviews/custom/components/chart/antv-pie/index.jsx
@@ -61,11 +61,7 @@
       _config.plot.height = _config.plot.height - 30
     }
 
-    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