perf[Breadcrumb]: do not update breadcrumbs when go to redirect page (#2086)

pull/2114/head
花裤衩 6 years ago committed by GitHub
parent 1e598e9684
commit 40431fdfc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.startsWith('/redirect/')) {
return
}
this.getBreadcrumb()
}
},

Loading…
Cancel
Save