1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-03 23:19:49 +08:00
This commit is contained in:
Pan 2019-05-17 13:29:52 +08:00
parent decf607741
commit 5a71635a4f

View File

@ -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()