同步
This commit is contained in:
@@ -35,10 +35,13 @@
|
||||
},
|
||||
onShow() {
|
||||
this.getPendingList()
|
||||
uni.$on('onContactNotification', this.getPendingList)
|
||||
uni.$on('onNewContactPendings', this.getPendingList)
|
||||
},
|
||||
onUnload() {
|
||||
uni.$off('onNewContactPendings')
|
||||
},
|
||||
methods: {
|
||||
getPendingList() {
|
||||
getPendingList() {
|
||||
im.getPendingList((pendings) => {
|
||||
console.log(pendings,'res......')
|
||||
if (pendings.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user