敏感词聊天记录第一页固定底部

This commit is contained in:
liuye
2023-08-28 10:45:19 +08:00
parent a06537df58
commit 075beeb66b
2 changed files with 8 additions and 0 deletions

View File

@@ -485,6 +485,10 @@
}
})
this.msgPages = res.data.pages || 2
this.$nextTick(() => {
var height = document.querySelector('.content-right-info').scrollHeight
document.querySelector('.content-right-info').scrollTop = height
})
}
this.isLoading = false
}).catch(() => {