瀏覽代碼

bug 修复

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({