Merge pull request '达人链接聊天室' (#60) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/60
This commit is contained in:
luyuan 2020-08-17 08:59:20 +08:00
commit 87c321be99

View File

@ -56,6 +56,10 @@ export default {
}, },
onLoad() { onLoad() {
this.getmyinfo() 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: { methods: {
// //