mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-07-05 11:00:50 +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;
|
const scrollHeight = msgLogs.scrollHeight;
|
||||||
|
|
||||||
this.unloadBottomMessages();
|
this.unloadBottomMessages();
|
||||||
this.$set(this.loadMoreBottom, 'show', true);
|
|
||||||
|
|
||||||
this.$nextTick(_ => {
|
this.$nextTick(_ => {
|
||||||
|
this.$set(this.loadMoreBottom, 'show', true);
|
||||||
msgLogs.scrollTop = msgLogs.scrollHeight - scrollHeight;
|
msgLogs.scrollTop = msgLogs.scrollHeight - scrollHeight;
|
||||||
if (this.loadMoreTop.show)
|
if (this.loadMoreTop.show)
|
||||||
this.loadMoreMessages();
|
this.loadMoreMessages();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue