king
2022-11-23 891e8aaad3b2ce6980fd44d1cf49192dca1c3c66
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1632,9 +1632,17 @@
        result.open_key = Utils.encryptOpenKey(result.secretkey, result.timestamp)
      }
    } else {
      if (btn.sysInterface === 'true' && window.GLOB.mainSystemApi) {
        result.rduri = window.GLOB.mainSystemApi
      } else if (btn.sysInterface !== 'true') {
      if (btn.sysInterface === 'true') {
        if (window.GLOB.mainSystemApi) {
          result.rduri = window.GLOB.mainSystemApi
        }
      } else if (btn.sysInterface === 'external') {
        if (window.GLOB.systemType === 'production') {
          result.$token = btn.exProInterface || ''
        } else {
          result.$token = btn.exInterface || ''
        }
      } else {
        if (window.GLOB.systemType === 'production' && btn.proInterface) {
          result.rduri = btn.proInterface
        } else {
@@ -1913,20 +1921,15 @@
          MenuID: btn.MenuID,
          MenuName: btn.MenuName,
          MenuNo: btn.MenuNo,
          type: btn.tabType,
          param: {
            $BID: id
          }
          type: btn.tabType
        }
      } else if (!newtab) {
        return
      }
      if (['linkage_navigation', 'linkage', 'menu_board'].includes(window.GLOB.navBar)) {
        MKEmitter.emit('modifyTabs', newtab, 'replace')
      } else {
        MKEmitter.emit('modifyTabs', newtab, 'plus', true)
      }
      newtab = {...newtab, param: { $BID: id }}
      MKEmitter.emit('modifyTabs', newtab, true)
    }
  }