cleanup
This commit is contained in:
parent
ccd9e28514
commit
62b1db61ed
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user