1.可以通过authentication-failure-url="/login.html?error=1"

前端接收参数,根据参数提示 错误

SpringSecurity 如何提示错误

2.前端vue

SpringSecurity 如何提示错误

 

 this.myName= window.location.href.split("?")[1].split("=")[1];/*接收来自重定向的参数id*/

 

相关文章: