退出功能

This commit is contained in:
yanran200730
2023-08-10 15:01:13 +08:00
parent f4ccfe8d74
commit 5bac751e0a
3 changed files with 24 additions and 12 deletions

View File

@@ -148,14 +148,12 @@
methods: {
handleClick (e) {
if (e === 'phone') {
this.$router.push('changePhone')
if (e === 'logout') {
this.$store.dispatch('SignOut', false)
} else if (e === 'pwd') {
this.$router.push('changePwd')
} else if (e === 'message') {
this.$router.push('message')
} else {
this.$store.commit('SignOut', true)
}
},
handleClose() {