This commit is contained in:
parent
f94d53ec0f
commit
e0bc528d5d
|
@ -171,7 +171,7 @@ const router = createRouter({
|
|||
});
|
||||
|
||||
router.beforeEach((to, form, next) => {
|
||||
console.log(to);
|
||||
// console.log(to);
|
||||
queue(to.meta.id, to.name, to.path);
|
||||
let menu = tools.data.get("menu");
|
||||
let token = tools.data.get("token");
|
||||
|
|
|
@ -153,8 +153,6 @@ const login = () => {
|
|||
tools.data.set("type", 1);
|
||||
getMenu();
|
||||
if (backurl) {
|
||||
console.log(222222);
|
||||
|
||||
window.location.href = backurl;
|
||||
tools.data.remove("backUrl");
|
||||
}
|
||||
|
@ -215,7 +213,6 @@ const login = () => {
|
|||
window.addEventListener("mousemove", resetTimer);
|
||||
window.addEventListener("keydown", resetTimer);
|
||||
if (backurl) {
|
||||
console.log(33333333333);
|
||||
window.location.href = backurl;
|
||||
tools.data.remove("backUrl");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue