king
2021-02-03 365ea069f179ee71a7a8cc7785ccd2d86bd4881c
src/components/tabview/index.jsx
@@ -157,6 +157,7 @@
  }
  componentDidMount () {
    if (sessionStorage.getItem('isEditState') !== 'true') {
    let home = {
      MenuID: 'home_page_id',
      MenuName: this.state.dict['main.homepage'],
@@ -165,6 +166,7 @@
    }
    this.props.modifyTabview([home])
  }
  }
  UNSAFE_componentWillReceiveProps (nextProps) {
    if (nextProps.tabviews && !is(fromJS(this.state.tabviews), fromJS(nextProps.tabviews))) {