聊天记录

This commit is contained in:
2023-12-05 20:24:36 +08:00
parent 8aa642ecb4
commit 228943fc02
7 changed files with 110 additions and 85 deletions

View File

@@ -199,7 +199,7 @@
},
onLoad(e) {
uni.$on('PageScroll', ()=>{
uni.$on('PageScroll', () => {
this.scrolltoBottom()
})
@@ -285,7 +285,7 @@
this.isMobile = true
}
// TODO PC开发
this.isMobile = true
// this.isMobile = true
if (this.chatListInfo && this.chatListInfo.nickName) {
uni.setNavigationBarTitle({
@@ -363,6 +363,20 @@
console.log("########### 此时需要发送已读回执 ###########")
this.$store.dispatch('sendP2PMessageReciveAck', message)
setTimeout(() => {
this.$store.dispatch('updateChartHistoryFromServerLimit5', {
userId: this.talkTo.userId,
data: ""
})
setTimeout(() => {
this.$store.dispatch('updateChartHistoryFromServerLimit5', {
userId: this.talkTo.userId,
data: ""
})
}, 1000)
}, 1500)
},
addMsg(e) {
this.msg += e;