mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 07:55:53 +08:00
获取消息
This commit is contained in:
@@ -146,6 +146,7 @@ export default {
|
|||||||
this.getTalkMessage()
|
this.getTalkMessage()
|
||||||
} else {
|
} else {
|
||||||
this.getTalk(options.userId)
|
this.getTalk(options.userId)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.ws.connect();
|
this.ws.connect();
|
||||||
@@ -365,6 +366,7 @@ export default {
|
|||||||
if (res.data.success) {
|
if (res.data.success) {
|
||||||
this.toUser = res.data.result
|
this.toUser = res.data.result
|
||||||
this.params.talkId = res.data.result.id
|
this.params.talkId = res.data.result.id
|
||||||
|
this.getTalkMessage()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user