路由跳转遇到:Redirected when going from “/?redirect=%2FRegister“ to “/Register“ via a navigation guard.
路由跳转遇到:Redirected when going from “/?redirect=%2FRegister” to “/Register” via a navigation guard.、在登录页面添加了个注册按钮,想实现跳转到注册页面的功能,但是老是报错Redirected when going from “/?redirect=%2FRegister” to “/Register” v
·
路由跳转遇到:Redirected when going from “/?redirect=%2FRegister” to “/Register” via a navigation guard.
、在登录页面添加了个注册按钮,想实现跳转到注册页面的功能,但是老是报错Redirected when going from “/?redirect=%2FRegister” to “/Register” via a navigation guard.百度了一下,有说是版本太高的问题,有说别的,后来发现,其实是自己写的这个系统中增加了路由拦截的功能,出了登录页面都要被拦截验证身份,所有没法跳转
解决方法:
在路由拦截中对注册路由也放行就好了
更多推荐
所有评论(0)