Errors caused by repeated triggering of vue router routing
method 1:
This solution can be possible, but method 2 feels better
Method 2:
It is recommended to take a closer look at the discussion plan on github that is very detailed https://github.com/vuejs/vue-router/issues/2881
Read More:
- Vue Error: Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location
- Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to crrent location: “/home“
- [Solved] Uncaught (in promise) Error: Avoided redundant navigation to current location:
- [Solved] Vue console error: navigationduplicated: avoided redundant navigation to current location
- [Solved] Vue Error: Avoided redundant navigation to current location:/xxxx
- Vue elementui: solution for error: avoided redundant navigation to current location: “/xxx”
- Vue: How to Solve error avoided redundant navigation to current location: “/xxx”
- [Solved] Vue-router Error: Navigation cancelled from “/course“ to “/user“ with a new navigation.
- [Solved] Vue route jumps to the same page many times error: Navigationduplicated
- Vue solves the problem of repeated click navigation route error
- How to solve Uncaught (in promise) error in VUE?
- How to Solve Uncaught (in promise) Error (Two Solutions)
- Solve the problem of repeatedly clicking the same route console in Vue to report an error
- [Solved] Uncaught (in promise) TypeError: XXX.a is not a constructor
- [Solved] vue-roter 4 Error: Error: Invalid route component/Uncaught (in promise) Error: Invalid route component
- [Solved] Uncaught (in promise) DOMException: Failed to load because no supported source was found.
- [Solved] Vue Error: Error in v-on handler (Promise/async): “[object object]“
- ArcGIS API for JavaScript Error Uncaught(in promise): TypeError: xxx is not a constructor
- Module not found: Error: Can‘t resolve ‘core-js/modules/es.promise.js‘ in
- Vue refreshes the current page (no flash screen will appear)