请求聊天总数 设置已读改为websocket模式

This commit is contained in:
wxl
2025-01-12 02:14:28 +08:00
parent 0851f11e54
commit b8b418e1f7

View File

@@ -109,7 +109,6 @@
}, },
handleCancel(){ handleCancel(){
this.dialogVisible = false this.dialogVisible = false
this.contact = this.$options.data().contact
}, },
submit(){ submit(){
@@ -123,9 +122,6 @@
next(); next();
}, },
handlePullMessages(contact, next) { handlePullMessages(contact, next) {
console.log('获取到总数'+this.contact.totalPage)
console.log('当前的总数'+this.contact.chatList.length)
if(this.contact.page>this.contact.totalPage){ if(this.contact.page>this.contact.totalPage){
error('没有记录了') error('没有记录了')
return return