function handleTagViewAndBreadcrumbsAndKeepAlive(from, to, store, Vue) {
  if (to.name != null) {
    document.title = to.meta.title + Vue.prototype.$title
    LoadingBar.start()
    // is a public route ?
    for (let i = 0; i < constantRoutes.length; i++) {
      if (constantRoutes[i].path === to.path) {
        return
      }
    }
    // Determine whether it is a refresh operation,
    // if it is a refresh operation, get the saved tagView information from sessionStorage
    let tagViewOnSS = []
    JSON.parse(window.sessionStorage.getItem('tagView')) === null ? window.sessionStorage.setItem('tagView', '[]') : tagViewOnSS = JSON.parse(window.sessionStorage.getItem('tagView'))
    if (store.getters.getTagView.length === 0 && tagViewOnSS.length !== 0) {
      setTagView(tagViewOnSS)
      store.commit('SET_KEEPALIVE_LIST', tagViewOnSS)
    } else if (from.fullPath !== to.fullPath) {
      addTagView(to)
    }
    setBreadcrumbs(to.matched, to.query)
    handleKeepAlive(to)
  }
}
/**
 * Processing tagView and breadcrumbs
 * @param to
 */
Processing tagView and breadcrumbs
@param to
Processing tagView and breadcrumbs @param to
function handleTagViewAndBreadcrumbsAndKeepAlive(from, to, store, Vue) {
  if (to.name != null) {
    document.title = to.meta.title + Vue.prototype.$title
    LoadingBar.start()
    for (let i = 0; i < constantRoutes.length; i++) {
      if (constantRoutes[i].path === to.path) {
        return
      }
    }
    let tagViewOnSS = []
    JSON.parse(window.sessionStorage.getItem('tagView')) === null ? window.sessionStorage.setItem('tagView', '[]') : tagViewOnSS = JSON.parse(window.sessionStorage.getItem('tagView'))
    if (store.getters.getTagView.length === 0 && tagViewOnSS.length !== 0) {
      setTagView(tagViewOnSS)
      store.commit('SET_KEEPALIVE_LIST', tagViewOnSS)
    } else if (from.fullPath !== to.fullPath) {
      addTagView(to)
    }
    setBreadcrumbs(to.matched, to.query)
    handleKeepAlive(to)
  }
}
function handleTagViewAndBreadcrumbsAndKeepAlive ( from , to , store , Vue ) { if ( to . name != null ) { document . title = to . meta . title + Vue . prototype . $title LoadingBar . start ( ) for ( let i = 0 ; i < constantRoutes . length ; i ++ ) { if ( constantRoutes [ i ] . path === to . path ) { return } } let tagViewOnSS = [ ] JSON . parse ( window . sessionStorage . getItem ( 'tagView' ) ) === null ? window . sessionStorage . setItem ( 'tagView' , '[]' ) : tagViewOnSS = JSON . parse ( window . sessionStorage . getItem ( 'tagView' ) ) if ( store . getters . getTagView . length === 0 && tagViewOnSS . length !== 0 ) { setTagView ( tagViewOnSS ) store . commit ( 'SET_KEEPALIVE_LIST' , tagViewOnSS ) } else if ( from . fullPath !== to . fullPath ) { addTagView ( to ) } setBreadcrumbs ( to . matched , to . query ) handleKeepAlive ( to ) } }
Processing tagView and breadcrumbs
 @param to
Processing tagView and breadcrumbs @param to
// is a public route ? // Determine whether it is a refresh operation, // if it is a refresh operation, get the saved tagView information from sessionStorage