提交 5a7e2d62 编写于 作者: 张磊's avatar 张磊

Merge branch 'feat/zl' into 'release'

msg empty

See merge request !133
...@@ -357,12 +357,15 @@ export default { ...@@ -357,12 +357,15 @@ export default {
}, },
currentChat(newVal, oldVal) { currentChat(newVal, oldVal) {
if (newVal !== oldVal && newVal.imTeamId) { if (newVal !== oldVal && newVal.imTeamId) {
this.messageList =[];
this.chatInit(); this.chatInit();
} }
}, },
showChat (nv) { showChat (nv) {
if(nv){ if(nv){
this.scrollToTOLoad(); this.scrollToTOLoad();
}else{
this.messageList =[];
} }
} }
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册