king
2022-05-20 652b0129ec60098ae1ad22fb8413eba009fb3aaf
src/tabviews/zshare/actionList/popupbutton/index.jsx
@@ -24,7 +24,6 @@
    btn: PropTypes.object,            // 按钮
    setting: PropTypes.any,           // 页面通用设置
    disabled: PropTypes.any,          // 行按钮禁用
    lineBtn: PropTypes.any,           // 是否为行级按钮
  }
  state = {
@@ -154,7 +153,7 @@
   * @description 触发按钮操作
   */
  actionTrigger = (triggerId, record, type) => {
    const { setting, Tab, BID, btn, selectedData, lineBtn } = this.props
    const { setting, Tab, BID, btn, selectedData } = this.props
    const { loading, disabled } = this.state
    if (loading || disabled) return
@@ -167,7 +166,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
    }