diff --git a/web/src/views/common/Im.vue b/web/src/views/common/Im.vue index 60edda2..23e20d8 100644 --- a/web/src/views/common/Im.vue +++ b/web/src/views/common/Im.vue @@ -56,6 +56,8 @@ open() { this.dialogVisible = true this.getAuthorList() + const {IMUI} = this.$refs; + IMUI.messageViewToBottom() }, getUnReadCount(){ webSocketManager.sendMessage(JSON.stringify({handlerType:'8',authorId:'8'}))