请求聊天总数 设置已读改为websocket模式
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user