clean
This commit is contained in:
@@ -56,7 +56,6 @@
|
||||
this.checkNewFriendPending()
|
||||
// 监听新的好友申请
|
||||
uni.$on('onContactNotification', () => {
|
||||
console.log('监听申请');
|
||||
this.checkNewFriendPending()
|
||||
})
|
||||
},
|
||||
@@ -77,7 +76,6 @@
|
||||
},
|
||||
methods: {
|
||||
checkNewFriendPending() {
|
||||
console.log('触发新申请好友事件');
|
||||
im.getPendingList((pendings) => {
|
||||
console.log(pendings);
|
||||
this.hasNewFriends = pendings.length
|
||||
|
||||
Reference in New Issue
Block a user