mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-03 23:19:49 +08:00
tweak
This commit is contained in:
parent
decf607741
commit
5a71635a4f
@ -20,8 +20,8 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
$route(route) {
|
||||
// If you go to the redirect page, do not update the breadcrumbs
|
||||
if (route.path.includes('/redirect/')) {
|
||||
// if you go to the redirect page, do not update the breadcrumbs
|
||||
if (route.path.startsWith('/redirect/')) {
|
||||
return
|
||||
}
|
||||
this.getBreadcrumb()
|
||||
|
Loading…
x
Reference in New Issue
Block a user