cleanup
This commit is contained in:
parent
ccd9e28514
commit
62b1db61ed
@ -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
|
||||
}
|
||||
|
@ -90,11 +90,11 @@ export default {
|
||||
},
|
||||
|
||||
watch: {
|
||||
listDate (date) {
|
||||
listDate () {
|
||||
this.getLog(this.logName)
|
||||
},
|
||||
|
||||
configID (id) {
|
||||
configID () {
|
||||
this.getLog(this.logName)
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user