I ended up crashing into a problem that I can not solve.
When I create a page detalhes
, I call it using
this.$router.push({name: 'Detalhes'})
And I pass a parameter
this.$router.push({name: 'Detalhes', params: {dados: this.dados}})
The problem is, I'm on this page already, it's not recharged.
Explaining better, I have a component that I call menu
, in this component I have a list of links that calls an API, changing the contents of the medium, when I click the first time on one of the menu links, it works normally, but when I'm already on the page and I click on another link, it does not pass the value back to detalhes
page.