소스 검색

微信绑定

LuoDLeo 2 년 전
부모
커밋
3d8c1b56f3
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      myPages/setting/setting-wechat.vue

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

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