优化滚动
This commit is contained in:
@@ -21,7 +21,7 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
lastMessage() {
|
||||
this.scrollBottom()
|
||||
this.$nextTick(() => this.scrollBottom())
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user