This commit is contained in:
2022-02-23 15:32:31 +08:00
23 changed files with 213 additions and 171 deletions

View File

@@ -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) {