wansfa 1 tahun lalu
induk
melakukan
5e8e237120
1 mengubah file dengan 7 tambahan dan 1 penghapusan
  1. 7 1
      src/views/qw/qwChat/qq.vue

+ 7 - 1
src/views/qw/qwChat/qq.vue

@@ -441,7 +441,13 @@ export default {
                                   getConversation(queryParams).then(response => {
                                           if(response.code==200){
                                               var conversation=response.data;
-                                              var conversationIdx=IMUI.findConversationIndexById(msgData.toContactId);   
+                                              var unread=conversation.unread;
+                                              if(!unread){
+                                                 conversation.unread=1;
+                                              }else{
+                                                conversation.unread+=1;
+                                              }
+                                             
                                               IMUI.topPopConversations(conversation);
 
                                           }