Skip to content

Commit 96c3ec2

Browse files
committed
fix
1 parent e8c4c15 commit 96c3ec2

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

comps/chat/msglist/msglist.vue

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -190,17 +190,6 @@ export default {
190190
renderMsg(renderableMsg, type, curChatMsg, sessionKey, isnew) {
191191
let me = this;
192192
193-
if (curChatMsg.length > 1) {
194-
this.chatMsg.map(function (elem, index) {
195-
curChatMsg.map(function (item, i) {
196-
if (elem.mid == item.mid) {
197-
//me.data.chatMsg.splice(index, 1)
198-
curChatMsg.splice(i, 1);
199-
}
200-
});
201-
});
202-
}
203-
204193
var historyChatMsgs = uni.getStorageSync("rendered_" + sessionKey) || []; // if (curChatMsg.length) {
205194
// console.log(curMsgMid.substring(curMsgMid.length - 10) , curChatMsg[0].mid.substring(curChatMsg[0].mid.length - 10))
206195
// }

0 commit comments

Comments
 (0)