mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 06:52:01 +09:00
로그인 관련 / 메뉴 링크 추가 / 홈페이지 로그인 적용
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<body>
|
||||
<div class="wrap" v-bind:class="{'main_wrap': (isLogin && isAuthChk), 'login-wrap': (!isLogin && !isAuthChk), 'bg-wrap': (isLogin && !isAuthChk) }" >
|
||||
<div class="wrap" v-bind:class="{'main_wrap': (isAuthChk), 'login-wrap': (!isLogin && !isAuthChk), 'bg-wrap': (isLogin && !isAuthChk) }" >
|
||||
<hub-web-header v-if="isAuthChk == true"></hub-web-header>
|
||||
<nav-bar v-if="isAuthChk == true"></nav-bar>
|
||||
<router-view :key="$route.fullPath"></router-view>
|
||||
<hub-web-footer v-if="isAuthChk == false"></hub-web-footer>
|
||||
<hub-web-footer v-if="isAuthChk == false"></hub-web-footer>
|
||||
</div>
|
||||
</body>
|
||||
</template>
|
||||
@@ -39,11 +39,12 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getLogin;
|
||||
this.getAuthChk;
|
||||
// this.getLogin;
|
||||
// this.getAuthChk;
|
||||
},
|
||||
mounted() {
|
||||
|
||||
this.isLogin = this.$store.getters["login/isLogin"]
|
||||
this.isAuthChk = this.$store.getters["login/isAuthChk"]
|
||||
}
|
||||
,computed: {
|
||||
...mapGetters({
|
||||
|
||||
Reference in New Issue
Block a user