gjy 2 년 전
부모
커밋
909145162d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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 {