king
2021-01-06 b6ccd63b80fc7017bfabc446787732a98c7cbab7
src/menu/components/tabs/antv-tabs/index.jsx
@@ -253,11 +253,18 @@
    this.props.updateConfig(tabs)
  }
  clickComponent = (e) => {
    if (sessionStorage.getItem('style-control') === 'true') {
      e.stopPropagation()
      MKEmitter.emit('clickComponent', this.state.tabs)
    }
  }
  render() {
    const { tabs, dict, labelvisible, editab } = this.state
    return (
      <div className="menu-tabs-edit-box" style={tabs.style}>
      <div className="menu-tabs-edit-box" style={tabs.style} onClick={this.clickComponent} id={tabs.uuid}>
        <DraggableTabs tabPosition={tabs.setting.position} type={tabs.setting.tabStyle} tabsMove={this.moveSwitch}>
          {tabs.subtabs.map(tab => (
            <TabPane tab={