From f830c733cbc071f023c9a9a4e1571b7c81d672bf Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 12 十一月 2020 11:47:33 +0800
Subject: [PATCH] 2020-11-12

---
 src/menu/components/chart/antv-pie/chartcompile/index.jsx |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/chart/antv-pie/chartcompile/index.jsx b/src/menu/components/chart/antv-pie/chartcompile/index.jsx
index da4c13c..f883858 100644
--- a/src/menu/components/chart/antv-pie/chartcompile/index.jsx
+++ b/src/menu/components/chart/antv-pie/chartcompile/index.jsx
@@ -9,6 +9,7 @@
 
 class LineChartDrawerForm extends Component {
   static propTpyes = {
+    MenuType: PropTypes.any,
     dict: PropTypes.object,
     plot: PropTypes.object,
     sysRoles: PropTypes.array,
@@ -23,12 +24,12 @@
   }
 
   showDrawer = () => {
-    const { config, sysRoles } = this.props
+    const { config, sysRoles, MenuType } = this.props
 
     this.setState({
       visible: true,
       plot: fromJS(config.plot).toJS(),
-      formlist: getPieChartOptionForm(config.plot, config.columns, sysRoles)
+      formlist: getPieChartOptionForm(config.plot, config.columns, sysRoles, MenuType)
     })
   }
 

--
Gitblit v1.8.0