优化滚动

This commit is contained in:
aixianling
2024-07-10 09:39:27 +08:00
parent 60a4d6a1c8
commit 0fd8a0e1fa
2 changed files with 2 additions and 14 deletions

View File

@@ -21,7 +21,7 @@ export default {
},
watch: {
lastMessage() {
this.scrollBottom()
this.$nextTick(() => this.scrollBottom())
}
},
methods: {