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

高度及样式等

上级 493f3b42
...@@ -686,6 +686,15 @@ export default { ...@@ -686,6 +686,15 @@ export default {
this.getDoctorInfo(this.currentToAccId); this.getDoctorInfo(this.currentToAccId);
this.getMSGHistory(this.currentSession); this.getMSGHistory(this.currentSession);
this.readAllMsg(); this.readAllMsg();
// 如果是点击“再来一个”或“给我一个任务吧”按钮分配的任务,则要滚动到最后
if(this.isFromAssignTask) {
this.$nextTick( () => {
let element = this.getElmByID("sessionListId");
if(element) {
element.scrollTop = element.scrollHeight;
}
})
}
} }
if (sLength) { if (sLength) {
this.convertSessions(this.sessionListData.sessionList); this.convertSessions(this.sessionListData.sessionList);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册