fix
This commit is contained in:
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…
Reference in New Issue
Block a user