king
2023-09-08 783ab4e467c95e26f7f031151507bd7ad8333a63
src/tabviews/zshare/actionList/tabbutton/index.jsx
@@ -146,14 +146,16 @@
      }
    } else if (btn.linkmenu && btn.linkmenu.length > 0) {
      let menuId = btn.linkmenu.slice(-1)[0]
      let menu = window.GLOB.mkThdMenus.filter(m => m.MenuID === menuId)[0]
      let menu = null
      if (!menu && btn.MenuName && btn.MenuID) {
      if (window.GLOB.mkThdMenus.has(menuId)) {
        menu = {...window.GLOB.mkThdMenus.get(menuId), param: { $BID: primaryId }}
      } else if (btn.MenuID) {
        menu = {
          MenuID: btn.MenuID,
          MenuName: btn.MenuName,
          MenuNo: btn.MenuNo,
          type: btn.tabType
          type: btn.tabType,
          param: { $BID: primaryId }
        }
      }
@@ -166,12 +168,7 @@
        return
      }
      newtab = {
        ...menu,
        param: {
          $BID: primaryId
        }
      }
      newtab = menu
    }
    if (btn.openTab === 'view') {