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: { methods: {
async logout () { logout () {
try { try {
await this.$store.commit('auth/REMOVE_TOKEN') this.$store.commit('auth/REMOVE_TOKEN')
await this.$store.commit('auth/UPDATE_IS_LOGIN', false) this.$store.commit('auth/UPDATE_IS_LOGIN', false)
} catch (e) { } catch (e) {
this.formError = e.message this.formError = e.message
} }

View File

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