Add logout button.
This commit is contained in:
parent
b284689313
commit
7d59051fc5
15 changed files with 45 additions and 19 deletions
|
@ -29,6 +29,9 @@ export default {
|
|||
},
|
||||
scrollToTop () {
|
||||
window.scrollTo(0, 0)
|
||||
},
|
||||
logout () {
|
||||
this.$store.dispatch('logout')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue