diff --git a/pages/mine/im/index.vue b/pages/mine/im/index.vue index 85e83aa..2e053d5 100644 --- a/pages/mine/im/index.vue +++ b/pages/mine/im/index.vue @@ -146,6 +146,7 @@ export default { this.getTalkMessage() } else { this.getTalk(options.userId) + } this.ws.connect(); @@ -365,6 +366,7 @@ export default { if (res.data.success) { this.toUser = res.data.result this.params.talkId = res.data.result.id + this.getTalkMessage() } }) },