king
2020-11-06 0bff15b120b3e3ff1f1c3d2ce4d9aa8d3ad3917e
src/menu/components/chart/antv-bar/chartcompile/index.jsx
@@ -14,6 +14,7 @@
  static propTpyes = {
    dict: PropTypes.object,
    plot: PropTypes.object,
    sysRoles: PropTypes.array,
    config: PropTypes.object,
    plotchange: PropTypes.func
  }
@@ -66,7 +67,7 @@
  }
  showDrawer = () => {
    const { config } = this.props
    const { config, sysRoles } = this.props
    let fieldName = {}
    config.columns.forEach(col => {
@@ -81,7 +82,7 @@
      disabled: config.plot.datatype === 'statistics',
      fieldName: fieldName,
      plot: fromJS(config.plot).toJS(),
      formlist: getBarOrLineChartOptionForm(config.plot, config.columns, config.setting)
      formlist: getBarOrLineChartOptionForm(config.plot, config.columns, sysRoles)
    })
  }