From 89fb1308d92e10a27cf8f91f4dd766eb38976e12 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 26 十一月 2020 21:56:42 +0800 Subject: [PATCH] 2020-11-26 --- src/menu/components/chart/antv-pie/chartcompile/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/menu/components/chart/antv-pie/chartcompile/index.jsx b/src/menu/components/chart/antv-pie/chartcompile/index.jsx index 7678833..ce879c3 100644 --- a/src/menu/components/chart/antv-pie/chartcompile/index.jsx +++ b/src/menu/components/chart/antv-pie/chartcompile/index.jsx @@ -16,7 +16,7 @@ class LineChartDrawerForm extends Component { static propTpyes = { - menu: PropTypes.any, + MenuType: PropTypes.any, dict: PropTypes.object, plot: PropTypes.object, config: PropTypes.object, @@ -51,13 +51,13 @@ } showDrawer = () => { - const { config, menu } = this.props + const { config, MenuType } = this.props this.setState({ visible: true, view: 'normal', plot: fromJS(config.plot).toJS(), - baseFormlist: getBaseForm(config.plot, menu.MenuType, menu.fstMenuList), + baseFormlist: getBaseForm(config.plot, MenuType), formlist: getOptionForm(config.plot, config.columns) }) } -- Gitblit v1.8.0