king
2021-01-08 da7068bd48791cdee966c786ce0dfd46f6e03df9
src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -23,7 +23,6 @@
    Tab: PropTypes.any,               // 如果当前元素为标签时,tab为标签信息
    btn: PropTypes.object,            // 按钮
    setting: PropTypes.any,           // 页面通用设置
    updateStatus: PropTypes.func,     // 按钮状态更新
  }
  state = {
@@ -145,7 +144,9 @@
      loading: false
    })
    this.props.updateStatus('refresh', btn.execSuccess, btn)
    if (btn.execSuccess !== 'never') {
      MKEmitter.emit('refreshByButtonResult', btn.$menuId, btn.execSuccess, btn)
    }
  }
  /**
@@ -182,7 +183,9 @@
      loading: false
    })
    this.props.updateStatus('refresh', btn.execError, btn)
    if (btn.execError !== 'never') {
      MKEmitter.emit('refreshByButtonResult', btn.$menuId, btn.execError, btn)
    }
  }
  /**
@@ -410,6 +413,7 @@
      return <div style={{display: 'inline-block'}} onClick={(e) => e.stopPropagation()}>
        <Button
          type="link"
          title={show === 'icon' ? btn.label : ''}
          loading={loading}
          style={btn.btnstyle}
          icon={show === 'text' ? '' : (show === 'icon' ? (btn.icon || 'upload') : (btn.icon || ''))}