mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 02:52:26 +00:00
bug fixed
This commit is contained in:
@@ -850,7 +850,7 @@ const updateScroll = () => {
|
||||
const msgListReachBottom = (behavior = 'instant') => {
|
||||
const scrollToBottom = () => {
|
||||
setTimeout(() => {
|
||||
msgListDiv.value.scrollTo({
|
||||
msgListDiv.value?.scrollTo({
|
||||
top: msgListDiv.value.scrollHeight,
|
||||
behavior: behavior
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user