Update value of Vuejs page

Asked

Viewed 320 times

1

I ended up bumping into a problem I’m having trouble solving.

When creating a page detalhes, I call her using

this.$router.push({name: 'Detalhes'})

And step one parameter

this.$router.push({name: 'Detalhes', params: {dados: this.dados}})

The problem is, me being on this page already, it’s not reloaded.

I have a component I call menu, in this component I have a list of links that calls an API changing the middle content, when I click the first time in one of the links menu, works normally, but when I’m already on the page and click on another link, it does not pass the value again to the page detalhes.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.