migration: vue3 WATCH_ARRAY

This commit is contained in:
axolotle 2024-03-11 14:44:55 +01:00
parent 27a6f90cf7
commit 2a5bbb594d

View file

@ -66,7 +66,7 @@ export default {
created() {
if (this.autoScroll) {
this.$watch('messages', this.scrollToEnd)
this.$watch('messages', this.scrollToEnd, { deep: true })
}
},
}