Uncaught Error: Redirected when going from "/*" to "/*"  

报类似的错 大部分因为触发了vue-router 路由导航重定向了

 

方法1.简单的方法就是直接触发跳转的逻辑上,把error抛出来

 this.$router.replace({
        path: this.$route.path,
        query
   })
 .catch(()=>{});//把error 抛出来

方法2.

这个说的比较详细一点

https://blog.csdn.net/sinat_37255207/article/details/116610980

Logo

前往低代码交流专区

更多推荐