提交 89753440 编写于 作者: guangjun.yang's avatar guangjun.yang

bug修改

上级 caf37868
......@@ -596,25 +596,19 @@ export default {
text = "";
cc = JSON.parse(session.lastMsgContent);
if (cc.showType == 1) {
text = cc.title;
// } else if (cc.showType == 18) {
text = cc.title || cc.name;
} else {
text = cc.content || cc.name;
}
// if (cc.showType != 8) {
// text = `${text}`;
// }
} else if (
session.lastMsgType.toLowerCase() == "image" ||
session.lastMsgType.toLowerCase() == "picture"
) {
text = "[图片]";
// text = this.imagePlaceholder;
} else {
text = session.lastMsgContent;
}
session.text = text;
// s.unreadCount = sessions[0].unread;
convertSessionList.push(session);
});
this.sessionListData.sessionList = convertSessionList;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册