|
|
@ -982,6 +982,7 @@ router.beforeEach((to, from, next) => { |
|
|
|
}); |
|
|
|
return next({ |
|
|
|
name: "login", |
|
|
|
query: { redirect: to.fullPath } |
|
|
|
}); |
|
|
|
} |
|
|
|
window.SITE_CONFIG["menuShujuList"] = res.data; |
|
|
@ -1012,6 +1013,7 @@ router.beforeEach((to, from, next) => { |
|
|
|
}); |
|
|
|
return next({ |
|
|
|
name: "login", |
|
|
|
query: { redirect: to.fullPath } |
|
|
|
}); |
|
|
|
} |
|
|
|
window.SITE_CONFIG["menuList"] = res.data |
|
|
@ -1029,6 +1031,7 @@ router.beforeEach((to, from, next) => { |
|
|
|
console.log(err); |
|
|
|
next({ |
|
|
|
name: "login", |
|
|
|
query: { redirect: to.fullPath } |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|