king
2020-03-26 f7d1f17bdcb8c3e794a798165737bb7529dbe8ca
src/tabviews/commontable/index.jsx
@@ -13,8 +13,6 @@
import {refreshTabView, modifyTabview} from '@/store/action'
import MainTable from '@/tabviews/zshare/normalTable'
// import MainAction from '@/tabviews/zshare/actionList'
// import VerifyCard from '@/tabviews/zshare/verifycard'
import MainSearch from '@/tabviews/zshare/topSearch'
import NotFount from '@/components/404'
import './index.scss'
@@ -363,7 +361,7 @@
              triggerBtn: {
                uuid: new Date().getTime(),
                parentId: key,
                button: item,
                button: {...item, uuid: btnkey},
                data: null
              }
            })
@@ -1049,6 +1047,11 @@
        this.reloadview()
      }
      this.props.refreshTabView('')
    } else if (!is(fromJS(this.props.tabviews), fromJS(nextProps.tabviews))) {
      let selectTab = nextProps.tabviews.filter(tab => tab.selected)[0]
      if (selectTab && selectTab.MenuID === this.props.MenuID) {
        this.setShortcut()
      }
    }
  }