mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-15 20:41:08 +00:00
fixed bug
This commit is contained in:
parent
d5dbd19488
commit
7ba69b704f
1 changed files with 1 additions and 1 deletions
|
|
@ -149,9 +149,9 @@ export default {
|
|||
const scrollHeight = msgLogs.scrollHeight;
|
||||
|
||||
this.unloadBottomMessages();
|
||||
this.$set(this.loadMoreBottom, 'show', true);
|
||||
|
||||
this.$nextTick(_ => {
|
||||
this.$set(this.loadMoreBottom, 'show', true);
|
||||
msgLogs.scrollTop = msgLogs.scrollHeight - scrollHeight;
|
||||
if (this.loadMoreTop.show)
|
||||
this.loadMoreMessages();
|
||||
|
|
|
|||
Loading…
Reference in a new issue