king
2021-03-16 4cf3c14e6cd5ababdc6c7fddad1726395ed083b7
src/menu/components/chart/antv-bar/index.jsx
@@ -24,6 +24,7 @@
const NormalHeader = asyncComponent(() => import('@/menu/components/share/normalheader'))
const ActionComponent = asyncComponent(() => import('@/menu/components/share/actioncomponent'))
const UserComponent = asyncIconComponent(() => import('@/menu/components/share/usercomponent'))
const ClockComponent = asyncIconComponent(() => import('@/menu/components/share/clockcomponent'))
class antvBarLineChart extends Component {
  static propTpyes = {
@@ -838,12 +839,7 @@
    let _card = {...card, style}
    // this.setState({
    //   card: _card
    // })
    this.updateComponent(_card)
    // this.props.updateConfig(_card)
  }
  handleLog = (type, logs, item) => {
@@ -894,6 +890,7 @@
            <PasteComponent config={card} options={['action', 'search', 'form']} updateConfig={this.updateComponent} />
            <Icon className="style" title="调整样式" onClick={this.changeStyle} type="font-colors" />
            <LogComponent btnlog={card.btnlog || []} handlelog={this.handleLog} />
            <ClockComponent config={card} updateConfig={this.updateComponent}/>
            <UserComponent config={card}/>
            <Icon className="close" title="delete" type="delete" onClick={() => this.props.deletecomponent(card.uuid)} />
            <SettingComponent config={card} updateConfig={this.updateComponent}/>