Browse Source

feat: 对接聊天功能

qinyuyue 1 tháng trước cách đây
mục cha
commit
4d028f5a0c
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      src/pages/chat/group-chat.vue

+ 0 - 3
src/pages/chat/group-chat.vue

@@ -132,9 +132,6 @@ const getChatList = async (type = 'init') => {
 
   }
 }
-const handleChatList = (list = []) => {
-  return (list ?? []).filter(o => isValidJson(o.messageContent)).map(o => JSON.parse(o.messageContent));
-}
 
 // 发送文本消息
 const sendTextMessage = async (text) => {