diff --git a/components/Menu.vue b/components/Menu.vue index 82b0a469..12119448 100644 --- a/components/Menu.vue +++ b/components/Menu.vue @@ -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 } diff --git a/pages/logging.vue b/pages/logging.vue index 22f033e2..0e250fd6 100644 --- a/pages/logging.vue +++ b/pages/logging.vue @@ -90,11 +90,11 @@ export default { }, watch: { - listDate (date) { + listDate () { this.getLog(this.logName) }, - configID (id) { + configID () { this.getLog(this.logName) } },