qinyuyue 1 месяц назад
Родитель
Сommit
4d028f5a0c
1 измененных файлов с 0 добавлено и 3 удалено
  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) => {