1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-05 16:59:47 +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: { watch: {
$route(route) { $route(route) {
// If you go to the redirect page, do not update the breadcrumbs // if you go to the redirect page, do not update the breadcrumbs
if (route.path.includes('/redirect/')) { if (route.path.startsWith('/redirect/')) {
return return
} }
this.getBreadcrumb() this.getBreadcrumb()