wkw há 1 mês atrás
pai
commit
d647c4ebaf

+ 2 - 2
src/stores/modules/webSocketStore.js

@@ -595,7 +595,7 @@ export const useWebSocketStore = defineStore("webSocketStore", {
         systemStore.messageList[sessionId] = [];
       }
       if(all){
-        systemStore.messageList[sessionId] =  data.filter(val=>!systemStore.messageList[sessionId].find(v=>v.id == val.id))
+        systemStore.messageList[sessionId] =  data //.filter(val=>!systemStore.messageList[sessionId].find(v=>v.id == val.id))
         return;
       }
       systemStore.messageList[sessionId] = data;
@@ -763,7 +763,7 @@ export const useWebSocketStore = defineStore("webSocketStore", {
           this.funRestoreDelAuth(message.from);
         }
         // 刷新会话列表
-        // this.needRefreshIm += 1;
+        this.chatRefresh += 1;
       }
       // 群通知
       if (message.messageType == MsgType.MESSAGE_NOTICE_GROUP) {

+ 5 - 3
src/views/im/chat/index.vue

@@ -1412,11 +1412,13 @@ const goDetail = () =>{
   }
 }
 .sendText{
-  border-radius: 5px;
+  border: none !important;
+  height: 25px !important;
+  line-height: 25px !important;
+  border-radius: 4px;
   background-color: #4765dd;
   padding: 0 16px;
-  height: 30px;
-  line-height: 30px;
+  box-sizing: border-box;
 }
 :deep(.van-button:before){
   border: none;

+ 1 - 1
src/views/im/contactList/invitation/index.vue

@@ -128,7 +128,7 @@ const changeFun = async (val) => {
 }
 onMounted(()=>{
     getfriendRequest();
-    wsStore.funInitfriend();
+    wsStore.funInitfriend(walletStore.account, true);
 })
 </script>