原文:vue跳转页面报错:Uncaught (in promise) Error: Redirected when going from "/person/modify" to "/ideaFeedback" via a navigation guard.

Uncaught in promise Error: Redirected when going from person modify to ideaFeedback via a navigation guard. 原因:重复的重定向引起vue router报错。。。 解决方案:在跳转前判断当前页面是否就是要跳转的页面,如果是则不再次跳转,这样就不会报错了。 说明:解决问题的过程中参考了其他博主给 ...

2020-07-25 14:45 0 12216 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2026 CODEPRJ.COM