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 {