From 4f7fc23c234e0422744abc5aad85095e399f5f91 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 17 Aug 2020 08:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=BE=E4=BA=BA=E9=93=BE=E6=8E=A5=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E5=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/myinfo.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/user/myinfo.vue b/pages/user/myinfo.vue index c3ab84d..b143f52 100644 --- a/pages/user/myinfo.vue +++ b/pages/user/myinfo.vue @@ -56,6 +56,10 @@ export default { }, onLoad() { this.getmyinfo() + const user = uni.getStorageSync('userinfo'); + console.log(user) + this.imService.login(user.userId,user.member_nickname,user.member_avatar) + this.imService.connectIM() }, methods: { // 获取个人信息