diff --git a/src/api/member.js b/src/api/member.js index 1a87743..e66eb0b 100644 --- a/src/api/member.js +++ b/src/api/member.js @@ -11,8 +11,6 @@ function findByToken(userid, token) { function tokenRegeneration(userid, token) { localAxios.defaults.headers['refreshToken'] = token; - console.log(userid); - console.log(token); return localAxios.post(`/member/refresh/${userid}`); } diff --git a/src/components/AppHeader.vue b/src/components/AppHeader.vue index c8c5310..a8df984 100644 --- a/src/components/AppHeader.vue +++ b/src/components/AppHeader.vue @@ -7,11 +7,10 @@ const memberStore = useMemberStore(); const { userLogout } = memberStore; const { isLogin } = storeToRefs(memberStore); -console.log('AppHeader.isLogin', isLogin.value); -const logout = () => { +function logout() { userLogout(); -}; +}