소스 검색

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