Answer the question
In order to leave comments, you need to log in
Why doesn't beforeRouteUpdate work when switching to another route?
I have 2 routes that refer to the same component
routes: [
{path: '/catalog/find', name: 'find', component: catalog_category},
{path: '/catalog/*', name: 'funcGroup', component: catalog_category},
]
this.$router.push({ name: 'find', query: parameters});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question