When I use the route jump, the jump does not work and the browser reports the following error.
Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: “/main”.
createRouterError vue-router.esm.js:2065
createNavigationDuplicatedError vue-router.esm.js:2035
confirmTransition vue-router.esm.js:2328
transitionTo vue-router.esm.js:2260
push vue-router.esm.js:2704
push vue-router.esm.js:3020
push vue-router.esm.js:3019
The reason for the error is that I did not add.
<router-view></router-view>
Read More:
- VueUncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: “/
- Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to crrent location: “/home“
- [Solved] Vue console error: navigationduplicated: avoided redundant navigation to current location
- [Solved] Uncaught (in promise) Error: Avoided redundant navigation to current location:
- Vue: How to Solve error avoided redundant navigation to current location: “/xxx”
- Vue elementui: solution for error: avoided redundant navigation to current location: “/xxx”
- [Solved] Vue Error: Avoided redundant navigation to current location:/xxxx
- [Solved] Vue route jumps to the same page many times error: Navigationduplicated
- How to solve Uncaught (in promise) error in VUE?
- [Solved] Vue-router Error: Navigation cancelled from “/course“ to “/user“ with a new navigation.
- How to Solve Uncaught (in promise) Error (Two Solutions)
- Vue solves the problem of repeated click navigation route error
- [Solved] Uncaught (in promise) TypeError: XXX.a is not a constructor
- Solve the problem of repeatedly clicking the same route console in Vue to report an error
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- [Solved] Uncaught (in promise) DOMException: Failed to load because no supported source was found.
- [Solved] vue-roter 4 Error: Error: Invalid route component/Uncaught (in promise) Error: Invalid route component
- [Solved] Turf.js error: uncaught (in promise) error: the solution of invalid unit
- request.js?b775:101 Uncaught (in promise) Error: Failed to convert value of type ‘java.lang.String’ to required type ‘java.lang.Long’;
- [Solved] echarts Draw Errror: echarts-d9fd185e.js:31447 Uncaught (in promise) Error: Initialize failed: invalid dom.