Compare commits

...

1 Commits

Author SHA1 Message Date
Pan decf607741 perf[Breadcrumb]: do not update breadcrumbs when go to redirect page 2019-05-16 10:57:34 +08:00
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,11 @@ export default {
}
},
watch: {
$route() {
$route(route) {
// If you go to the redirect page, do not update the breadcrumbs
if (route.path.includes('/redirect/')) {
return
}
this.getBreadcrumb()
}
},