vue-element-admin
vue-element-admin copied to clipboard
Uncaught (in promise) Error: Redirected when going from "/login?redirect=%2Fdashboard" to "/dashboard" via a navigation guard.
升级vue-router后出现这个错误:Uncaught (in promise) Error: Redirected when going from "/login?redirect=%2Fdashboard" to "/dashboard" via a navigation guard. 发现错误是在permission.js中next({ ...to, replace: true })这里跳转的时候报错,不知道有什么解决方法?