mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:00:23 +09:00
router Store Login Path 확인 설정
This commit is contained in:
@@ -3,29 +3,31 @@ const state = {
|
||||
isLogin: false,
|
||||
isErrorPage: false,
|
||||
isAuthChk: false,
|
||||
userId:null,
|
||||
userNm:null,
|
||||
userId: null,
|
||||
userNm: null,
|
||||
pwd: null,
|
||||
rootUrl: null,
|
||||
menuUrls: [],
|
||||
authToken: null,
|
||||
beforeUrl: null,
|
||||
isLoading: false,
|
||||
loginPathUrl: null,
|
||||
};
|
||||
|
||||
const getters = {
|
||||
getToken: state => state.token,
|
||||
isLogin: state => state.isLogin,
|
||||
isErrorPage: state => state.isErrorPage,
|
||||
isAuthChk: state => state.isAuthChk,
|
||||
userId: state => state.userId,
|
||||
userNm: state => state.userNm,
|
||||
getPwd: state => state.pwd,
|
||||
getRootUrl: state => state.rootUrl,
|
||||
getMenuUrls: state => state.menuUrls,
|
||||
getAuthToken: state => state.authToken,
|
||||
getBeforeUrl: state => state.beforeUrl,
|
||||
isLoading: state => state.isLoading,
|
||||
getToken: (state) => state.token,
|
||||
isLogin: (state) => state.isLogin,
|
||||
isErrorPage: (state) => state.isErrorPage,
|
||||
isAuthChk: (state) => state.isAuthChk,
|
||||
userId: (state) => state.userId,
|
||||
userNm: (state) => state.userNm,
|
||||
getPwd: (state) => state.pwd,
|
||||
getRootUrl: (state) => state.rootUrl,
|
||||
getMenuUrls: (state) => state.menuUrls,
|
||||
getAuthToken: (state) => state.authToken,
|
||||
getBeforeUrl: (state) => state.beforeUrl,
|
||||
isLoading: (state) => state.isLoading,
|
||||
getLoginPathUrl: (state) => state.loginPathUrl,
|
||||
};
|
||||
|
||||
const mutations = {
|
||||
@@ -70,16 +72,18 @@ const mutations = {
|
||||
},
|
||||
isLoading: (state, value) => {
|
||||
state.isLoading = value;
|
||||
}
|
||||
},
|
||||
setLoginPathUrl: (state, value) => {
|
||||
state.loginPathUrl = value;
|
||||
},
|
||||
};
|
||||
|
||||
const actions = {
|
||||
};
|
||||
const actions = {};
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state,
|
||||
getters,
|
||||
mutations,
|
||||
actions
|
||||
actions,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user