获取消息

master
chc 2022-12-27 14:48:41 +08:00
parent 5e38247ce8
commit 04bf707836
1 changed files with 2 additions and 0 deletions

View File

@ -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()
} }
}) })
}, },