Merge pull request '达人链接聊天室' (#60) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/60
This commit is contained in:
commit
87c321be99
@ -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: {
|
||||||
// 获取个人信息
|
// 获取个人信息
|
||||||
|
Loading…
Reference in New Issue
Block a user