king
2023-06-30 3b121a4e25bc57693d231a805133fe14defd18f5
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]