king
2023-07-02 16f80ddfc338bc65a893c1b7eb93d1d9861158b2
src/tabviews/custom/components/chart/antv-G6/index.jsx
@@ -1571,9 +1571,9 @@
  handleClick = (data = null) => {
    const { plot, config } = this.state
    
    if (plot.click && !data) return
    if (plot.click === 'menus') {
      if (!data) return
      let menu = null
      
      if (plot.menus && plot.menus.length > 0) {
@@ -1604,6 +1604,8 @@
      MKEmitter.emit('modifyTabs', newtab, true)
    } else if (plot.click === 'menu') {
      if (!data) return
      let menuId = plot.menu.slice(-1)[0]
      let newtab = window.GLOB.mkThdMenus.filter(m => m.MenuID === menuId)[0]