申请加好友认证信息优化,好友列表无好友状态处理

This commit is contained in:
2022-02-23 15:30:09 +08:00
parent c7ba7bd426
commit a12d8a2c40
5 changed files with 37 additions and 34 deletions

View File

@@ -33,13 +33,14 @@
bg: '#fff'
}
},
onLoad() {
onShow() {
this.getPendingList()
uni.$on('onContactNotification', this.getPendingList)
},
methods: {
getPendingList() {
im.getPendingList((pendings) => {
console.log(pendings,'res......')
if (pendings.length > 0) {
this.bg = '#f9f9f9'
} else {