add-admin-interface
adb 3 years ago
parent 433fbac3fa
commit 7c1d994dc2

@ -68,7 +68,7 @@ export default {
}
},
updated(){
if(this.scroll.getScrollBottom() < 400) this.scroll.scrollToBottom();
if(this.scroll.getScrollBottom() < 350) this.scroll.scrollToBottom();
},
mounted(){
this.scroll = new scrollHandler(this.$refs.msgContainer);

@ -45,10 +45,9 @@ export default {
},
methods:{
openChat(room){
this.showChatInfo = false;
this.currentRoom = undefined
this.$nextTick(() => this.currentRoom = room);
this.showChatInfo = false;
this.currentRoom = room;
this.$router.push(`/rooms/${room.roomId}`);
this.search = '';
},

Loading…
Cancel
Save