king
2020-11-12 f830c733cbc071f023c9a9a4e1571b7c81d672bf
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)
    })
  }