king
2022-05-20 652b0129ec60098ae1ad22fb8413eba009fb3aaf
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -32,7 +32,6 @@
    setting: PropTypes.any,           // 页面通用设置
    ContainerId: PropTypes.any,       // tab页面ID,用于弹窗控制
    disabled: PropTypes.any,          // 行按钮禁用
    lineBtn: PropTypes.any,           // 是否为行级按钮
  }
  state = {
@@ -146,7 +145,7 @@
   * @description 触发按钮操作
   */
  actionTrigger = (triggerId, record, type) => {
    const { Tab, BID, btn, selectedData, setting, lineBtn } = this.props
    const { Tab, BID, btn, selectedData, setting } = this.props
    const { loading, disabled } = this.state
    if (loading || disabled) return
@@ -159,7 +158,7 @@
        duration: 5
      })
      return
    } else if (type === 'linkbtn' && lineBtn && !is(fromJS(selectedData || []), fromJS(record))) {
    } else if (type === 'linkbtn' && !btn.$toolbtn && !is(fromJS(selectedData || []), fromJS(record))) {
      return
    }