king
2022-11-04 3c50bfdd8d605b3dd449adcb54cdf7f7c25d6c16
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1904,15 +1904,22 @@
      node && node.scrollIntoView({behavior: 'smooth', block: 'center', inline: 'nearest'})
    }
    if (btn.MenuID && Array.isArray(btn.openmenu) && btn.openmenu.length > 0) {
      let newtab = {
        MenuID: btn.MenuID,
        MenuName: btn.MenuName,
        MenuNo: btn.MenuNo,
        type: btn.tabType,
        param: {
          $BID: id
    if (btn.openmenu && Array.isArray(btn.openmenu) && btn.openmenu.length > 0) {
      let menuId = btn.openmenu.slice(-1)[0]
      let newtab = window.GLOB.mkThdMenus.filter(m => m.MenuID === menuId)[0]
      if (!newtab && btn.MenuID) {
        newtab = {
          MenuID: btn.MenuID,
          MenuName: btn.MenuName,
          MenuNo: btn.MenuNo,
          type: btn.tabType,
          param: {
            $BID: id
          }
        }
      } else if (!newtab) {
        return
      }
      if (['linkage_navigation', 'linkage', 'menu_board'].includes(window.GLOB.navBar)) {