LuoDLeo hace 2 años
padre
commit
3d8c1b56f3
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      myPages/setting/setting-wechat.vue

+ 1 - 2
myPages/setting/setting-wechat.vue

@@ -29,8 +29,7 @@ export default {
 	},
 	},
 	onLoad() {
 	onLoad() {
 		// 用户信息
 		// 用户信息
-		let user = uni.getStorageSync('userInfo');
-		this.userInfo.openId = user.openId;
+    this.userInfo.openId =	uni.getStorageSync('userInfoOpenId');
 	},
 	},
 	methods: {
 	methods: {
 		// 绑定微信
 		// 绑定微信