로그인 관련 / 메뉴 링크 추가 / 홈페이지 로그인 적용

This commit is contained in:
kimre
2022-07-08 14:07:33 +09:00
parent 3d05b45299
commit b2ff509948
73 changed files with 1251 additions and 668 deletions

View File

@@ -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({