达人链接聊天室

This commit is contained in:
luyuan 2020-08-17 08:57:44 +08:00
parent 4bf837d53e
commit 4f7fc23c23
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

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: {
// //