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

forward消息个数

上级 7ffee40f
...@@ -335,6 +335,13 @@ export default { ...@@ -335,6 +335,13 @@ export default {
autoCompletionInterval() { autoCompletionInterval() {
if(!this.messageList) return; if(!this.messageList) return;
console.log('in autoCompletionInterval'); console.log('in autoCompletionInterval');
// 将带有loading的消息转成失败的
this.messageList.forEach( item => {
if(msg.isShowLoadingIcon) {
msg.isShowLoadingIcon = false;
msg.isShowErrorIcon = true;
}
});
let flag = false, msg; let flag = false, msg;
for(let i = 0; i < this.messageList.length; i ++) { for(let i = 0; i < this.messageList.length; i ++) {
msg = this.messageList[i]; msg = this.messageList[i];
...@@ -357,7 +364,7 @@ export default { ...@@ -357,7 +364,7 @@ export default {
lastClientIdServer: session.lastMsgIdClient, lastClientIdServer: session.lastMsgIdClient,
lastMsgIdServer: session.lastMsgIdServer, lastMsgIdServer: session.lastMsgIdServer,
lastMsgTimestamp: msg.realTimestamp, lastMsgTimestamp: msg.realTimestamp,
limit: 20, limit: 50,
patientAccId: this.picakfAccId, patientAccId: this.picakfAccId,
unionId: "" unionId: ""
}; };
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册