vuex模块化

This commit is contained in:
aixianling
2022-06-10 16:46:03 +08:00
parent a85a2b5bfe
commit e409328271
4 changed files with 10 additions and 28 deletions

View File

@@ -66,8 +66,7 @@ export default {
})
},
handleLogout() {
this.logout()
this.$http.delete("/auth/token/logout")
this.$http.delete("/auth/token/logout").finally(() => this.logout())
}
},
onShow() {