에러노트

[에러노트] Avoided redundant navigation to current location: "/goods?nonPublic=0&page=1".

자바칩 프라푸치노 2021. 11. 27. 16:04

같은 라우터로 푸시했을때 생기는 오류

this.$router.push("/admin").catch(()=>{});

catch문을 설정해주면 된다!

 

참고 : stackoverflow

 

How to solve Avoided redundant navigation to current location error in vue?

I am new in vue and i got the error after user logged in and redirect to another route. Basically i am a PHP developer and i use laravel with vue. Please help me to solve this error. Uncaught (in

stackoverflow.com

 

728x90