How to Solve Error: Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to
main.js is configured as follows
import Router from 'vue-router';
//Routing navigation redundancy error reporting (route duplication)
const originalPush = Router.prototype.push
Router.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}