king
2020-09-15 0f75cd54d62aa6d623ff024ca787c85a578a5f38
src/menu/components/chart/antv-bar/index.jsx
@@ -20,15 +20,12 @@
  static propTpyes = {
    config: PropTypes.object,
    card: PropTypes.object,
    editId: PropTypes.any,
    triggerEdit: PropTypes.func,
    updateConfig: PropTypes.func,
  }
  state = {
    dict: localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
    card: null,
    visible: true
    card: null
  }
  UNSAFE_componentWillMount () {
@@ -81,6 +78,7 @@
      let _card = {
        uuid: card.uuid,
        type: card.type,
        floor: card.floor,
        format: 'array',   // 组件属性 - 数据格式
        pageable: false,   // 组件属性 - 是否可分页
        switchable: false, // 组件属性 - 数据是否可切换