原文:Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/xxx". at createRouterError 的说明和解决

错误说明 Uncaught in promise NavigationDuplicated: Avoided redundant navigation to current location: xxx . at createRouterError 这个错误是说着在promise里捕获了一个导航的重复定义,因为这里是使用编程式导航去进行路由跳转的, router.push方法会返回一个promise ...

2021-04-16 22:23 0 386 推荐指数:

查看详情

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