mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:04:20 +09:00
대량등록, 사용자ID 등록 팝업 수정
This commit is contained in:
@@ -76,7 +76,7 @@ router.beforeEach((to, from, next) => {
|
||||
const isPublic = to.matched.some(record => record.meta.public);
|
||||
const loggedIn = !!tokenSvc.getToken();
|
||||
|
||||
if (!isPublic && !loggedIn) {
|
||||
if (!isPublic && !loggedIn) {
|
||||
return next('/login');
|
||||
}else{
|
||||
var nextUrl = to.fullPath;
|
||||
@@ -85,7 +85,7 @@ router.beforeEach((to, from, next) => {
|
||||
const rootUrl = store.getters['login/getRootUrl'];
|
||||
if(rootUrl == null){
|
||||
return next('/login');
|
||||
}
|
||||
}
|
||||
return next(rootUrl);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user