gjy há 2 anos atrás
pai
commit
909145162d
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      pages/user/user.vue

+ 2 - 1
pages/user/user.vue

@@ -570,7 +570,8 @@
 								uni.setStorageSync("cangid",'')
 								if (res1.data.code == 200) {
 									uni.setStorageSync('pcUserInfo', res1.data.data)
-									uni.setStorageSync('compName1', that.companyList[e[0]].compName)
+									uni.setStorageSync('compName1', {company:that.companyList[e[0]].compName})
+									// uni.setStorageSync('compName1', that.companyList[e[0]].compName)
 									that.compName = that.companyList[e[0]].compName
 									helper.getListByUserId()
 								} else {