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)
}
Similar Posts:
- [Solved] VUE Project Error: Avoided redundant navigation to current location: “/XXX“
- [Solved] Vue router in the element UI navigation bar repeatedly clicks on the menu above version 3.0 and reports errors
- [Solved] Vue Error: NavigationDuplicated: Avoided redundant navigation to current location: “xxx”.
- [Solved] Vue route Duplicate Error: error avoid redundant navigation to current location: “/home”
- How to Solve Vue Error: NavigationDuplicated
- Uncaught (in promise) NavigationDuplicated [How to Solve]
- Resolve Vue the navigationduplicated error on the console
- [Solved] Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location
- [Solved] Vue Error: Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location
- Vue: How to use Vue-router in Axios