Browse Source

Merge branch 'bug_mk' into dev

feature
mk 1 year ago
parent
commit
0e9615d3df
  1. 3
      src/router/index.js

3
src/router/index.js

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

Loading…
Cancel
Save