king
2021-04-07 f3167f8371d19d0ea8fe7d0e7af5517ff0b08cd2
src/tabviews/zshare/actionList/tabbutton/index.jsx
@@ -73,11 +73,9 @@
    }
    let primaryId = ''
    let _data = null
    if (btn.Ot === 'requiredSgl') {
      primaryId = data[0][setting.primaryKey] || ''
      _data = data[0]
    }
    let newtab = {}
@@ -117,8 +115,7 @@
        ...menu,
        selected: true,
        param: {
          BID: primaryId,
          data: _data
          $BID: primaryId
        }
      }
    }
@@ -134,6 +131,9 @@
      return tab.MenuID !== newtab.MenuID
    })
    if (['linkage_navigation', 'linkage'].includes(window.GLOB.navBar)) {
      this.props.modifyTabview([newtab])
    } else {
    if (tabviews.length !== tabs.length) {
      this.props.modifyTabview(fromJS(tabs).toJS())
    }
@@ -146,6 +146,7 @@
      }
      this.props.modifyTabview(tabs)
    })
    }
    MKEmitter.emit('openNewTab')
    if (window.GLOB.systemType === 'production') {