gjy %!s(int64=2) %!d(string=hai) anos
pai
achega
909145162d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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 {