@@ -614,7 +614,12 @@ router.beforeEach((to, from, next) => {
if(to.matched && to.matched.length>0){
var path = to.path
if(to.matched.findIndex(item=>{ return item.path == path}) !=-1){
- localStorage.setItem('redirectUrl',JSON.stringify(to))
+ var redirectUrl = {
+ path:to.path,
+ query:to.query,
+ params:to.params
+ }
+ localStorage.setItem('redirectUrl',JSON.stringify(redirectUrl))
}
next({ name: 'Login' })