king
2022-06-18 fe21d23b147ed5cec22b4f76a88840b05495d4ad
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1538,6 +1538,9 @@
    if (btn.output) {
      id = res.mk_b_id || res[btn.output] || ''
    }
    if (res.mk_icon) {
      sessionStorage.setItem('avatar', res.mk_icon)
    }
    let tabId = ''
    if (btn.refreshTab && btn.refreshTab.length > 0) {
      tabId = btn.refreshTab[btn.refreshTab.length - 1]
@@ -1554,9 +1557,9 @@
      MKEmitter.emit('popclose')
    } else if (btn.execSuccess !== 'never') {
      MKEmitter.emit('refreshByButtonResult', btn.$menuId, btn.execSuccess, btn, id, this.state.selines)
    } else {
      btn.syncComponentId && MKEmitter.emit('reloadData', btn.syncComponentId)
    }
    btn.syncComponentId && MKEmitter.emit('reloadData', btn.syncComponentId)
    if (tabId) {
      MKEmitter.emit('reloadMenuView', tabId, 'table')
@@ -1573,7 +1576,7 @@
      node && node.scrollIntoView({behavior: 'smooth', block: 'center', inline: 'nearest'})
    }
    if (btn.openmenu && btn.openmenu.length > 0 && btn.MenuID) {
    if (btn.MenuID && Array.isArray(btn.openmenu) && btn.openmenu.length > 0) {
      let newtab = {
        MenuID: btn.MenuID,
        MenuName: btn.MenuName,
@@ -2026,7 +2029,7 @@
    if (!btnconfig || !btnconfig.setting) return null
    let title = btnconfig.setting.title
    let title = btn.label
    let width = btnconfig.setting.width > 100 ? btnconfig.setting.width : btnconfig.setting.width + 'vw'
    let clickouter = btnconfig.setting.clickouter === 'close'