diff --git a/src/components/Home.vue b/src/components/Home.vue index a7b4ad58..9a9cb558 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -1,7 +1,9 @@ @@ -22,6 +24,11 @@ router.push({name: 'login'}) } }, + methods: { + logout () { + auth.logout() + } + }, }