[Vuejs]-Is there anyway to ignore the *failure: Avoided redundant navigation to current location* error using Vue Router and just refresh the page?

0👍

I suspect you are fetching your data from a backend service or data files
If yes you can refetch the data everytime the route param changed by watching it.

watch: {
    '$route.params.id': function (id) {
    if(id)
     this.$store.dispatch('fetchOneAnalys', id)
else 
 this.$store.dispatch('fetchAllAnalyses')
    }

Leave a comment