king
2020-03-26 f7d1f17bdcb8c3e794a798165737bb7529dbe8ca
src/tabviews/zshare/actionList/index.jsx
@@ -53,7 +53,13 @@
  UNSAFE_componentWillReceiveProps(nextProps) {
    if (nextProps.triggerBtn && !is(fromJS(this.props.triggerBtn), fromJS(nextProps.triggerBtn)) && nextProps.triggerBtn.parentId === this.props.MenuID) {
      if (!this.state.loadingUuid && !this.state.visible && !this.state.running) {
        this.actionTrigger(nextProps.triggerBtn.button, nextProps.triggerBtn.data)
        let _btn = nextProps.triggerBtn.button
        if (!_btn.OpenType) {
          _btn = this.props.actions.filter(item => item.uuid === _btn.uuid)[0]
        }
        if (_btn) {
          this.actionTrigger(_btn, nextProps.triggerBtn.data)
        }
      }
    }
  }