lilei 4 年 前
コミット
e410be83a5
1 ファイル変更4 行追加0 行削除
  1. 4 0
      pages/userCenter/userInfo/userInfo.vue

+ 4 - 0
pages/userCenter/userInfo/userInfo.vue

@@ -92,6 +92,10 @@
 				      logout({}).then(res => {
 				       getApp().globalData.token = ''
 				       _this.$u.vuex('vuex_token','')
+					   _this.$u.vuex('vuex_userData','')
+					   _this.$u.vuex('vuex_cartList','')
+					   _this.$u.vuex('vuex_OrderAddress','')
+					   _this.$u.vuex('vuex_toOrderList','')
 					   // 关闭socket
 					   _this.$store.commit("$closeWebsocket")
 				        uni.reLaunch({