From e9640ccdc9fe57f91919e3f51462c780e44fadb0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 23 十二月 2020 13:14:20 +0800 Subject: [PATCH] 2020-12-23 --- src/menu/components/chart/antv-bar/chartcompile/index.jsx | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/menu/components/chart/antv-bar/chartcompile/index.jsx b/src/menu/components/chart/antv-bar/chartcompile/index.jsx index c91f174..97c1471 100644 --- a/src/menu/components/chart/antv-bar/chartcompile/index.jsx +++ b/src/menu/components/chart/antv-bar/chartcompile/index.jsx @@ -16,7 +16,6 @@ class LineChartDrawerForm extends Component { static propTpyes = { - MenuType: PropTypes.any, dict: PropTypes.object, plot: PropTypes.object, config: PropTypes.object, @@ -147,7 +146,7 @@ } showDrawer = () => { - const { config, MenuType } = this.props + const { config } = this.props let fieldName = {} config.columns.forEach(col => { @@ -167,8 +166,8 @@ datatype: config.plot.datatype || 'query', fieldName: fieldName, plot: fromJS(config.plot).toJS(), - baseFormlist: getBaseForm(config.plot, MenuType), - formlist: getOptionForm(config.plot, config.columns, MenuType) + baseFormlist: getBaseForm(config.plot), + formlist: getOptionForm(config.plot, config.columns) }) } -- Gitblit v1.8.0