This commit is contained in:
jb-alvarado 2021-03-23 21:46:05 +01:00
parent ccd9e28514
commit 62b1db61ed
2 changed files with 5 additions and 5 deletions

View File

@ -46,10 +46,10 @@ export default {
},
methods: {
async logout () {
logout () {
try {
await this.$store.commit('auth/REMOVE_TOKEN')
await this.$store.commit('auth/UPDATE_IS_LOGIN', false)
this.$store.commit('auth/REMOVE_TOKEN')
this.$store.commit('auth/UPDATE_IS_LOGIN', false)
} catch (e) {
this.formError = e.message
}

View File

@ -90,11 +90,11 @@ export default {
},
watch: {
listDate (date) {
listDate () {
this.getLog(this.logName)
},
configID (id) {
configID () {
this.getLog(this.logName)
}
},