perf[Breadcrumb]: do not update breadcrumbs when go to redirect page (#2086)
This commit is contained in:
		@@ -21,7 +21,11 @@ export default {
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  watch: {
 | 
			
		||||
    $route() {
 | 
			
		||||
    $route(route) {
 | 
			
		||||
      // if you go to the redirect page, do not update the breadcrumbs
 | 
			
		||||
      if (route.path.startsWith('/redirect/')) {
 | 
			
		||||
        return
 | 
			
		||||
      }
 | 
			
		||||
      this.getBreadcrumb()
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user