好友列表调整

This commit is contained in:
2022-02-09 13:16:12 +08:00
parent 1678fd6e80
commit 699c178bd7
4 changed files with 65 additions and 38 deletions

View File

@@ -158,7 +158,8 @@
content: '确认删除后不可恢复',
success: e => {
if (e.confirm) {
deleteFriend(this.targetId).then(res => {
deleteFriend(this.targetId).then(res => {
uni.$emit('onContactNotification')
// 删除聊天记录
RongIMLib.deleteMessages(1, this.targetId);
RongIMLib.removeConversation(1, this.targetId);