Commit 14bce307 by pangchong

feat: 消息置底

parent e51873f6
...@@ -148,7 +148,9 @@ const scrollToBottom = () => { ...@@ -148,7 +148,9 @@ const scrollToBottom = () => {
watch( watch(
mapChatMessageQueue, mapChatMessageQueue,
() => { () => {
scrollToBottom() nextTick(() => {
scrollToBottom()
})
}, },
{ deep: true } { deep: true }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment