居民助手

This commit is contained in:
liuye
2024-01-08 09:40:15 +08:00
parent 5a8aea6776
commit 3a2938e1a7

View File

@@ -173,6 +173,12 @@ export default {
this.content = ''
this.messageList.push(res.data[0])
this.messageList.push(res.data[1])
this.$nextTick(() => {
uni.pageScrollTo({
duration: 300,
selector: `.item${this.messageList.length-1}`
});
})
this.$hideLoading()
}
})
@@ -190,6 +196,10 @@ export default {
})
this.messageList.push(res.data[0])
this.messageList.push(res.data[1])
uni.pageScrollTo({
duration: 300,
selector: `.item${this.messageList.length-1}`
});
this.$hideLoading()
}
})