king
2020-03-26 e0f1f05b7567a7bfd29fd5ad54e4b2222ddfcb94
src/tabviews/subtable/index.jsx
@@ -73,9 +73,13 @@
      this.loadmaindata(nextProps.BID, 'refresh')
    } else if (this.state.config && nextProps.refreshtabs && nextProps.refreshtabs.includes(this.props.Tab.uuid)) {
      this.reloadtable()
    } else if (nextProps.triggerBtn && !is(fromJS(this.props.triggerBtn), fromJS(nextProps.triggerBtn)) && nextProps.triggerBtn.parentId === this.props.MenuID) {
    } else if (nextProps.triggerBtn && !is(fromJS(this.props.triggerBtn), fromJS(nextProps.triggerBtn)) && nextProps.triggerBtn.parentId === this.props.Tab.uuid) {
      let trigger = nextProps.triggerBtn
      trigger.parentId = this.props.MenuID
      this.setState({
        triggerBtn: nextProps.triggerBtn
        triggerBtn: trigger
      })
    }
  }