Browse Source

退出登录

lilei 3 years ago
parent
commit
dc35684058
1 changed files with 1 additions and 2 deletions
  1. 1 2
      pages/userCenter/index.vue

+ 1 - 2
pages/userCenter/index.vue

@@ -86,11 +86,10 @@
 				logout().then(res => {
 					console.log(res);
 					if (res.status == 200) {
-						this.$store.commit("$closeWebsocket")
+						// this.$store.commit("$closeWebsocket")
 						this.$store.state.vuex_token = '';
 						this.$store.state.vuex_userData = '';
 						uni.setStorageSync('setStatusIndexFunc', 0);
-						this.$toashMsg(res.message)
 						setTimeout(function() {
 							uni.reLaunch({
 								url: '/pages/login/login'