app发送文字消息

This commit is contained in:
2023-09-27 22:16:03 +08:00
parent 72dc5e7cb3
commit 1459ec3656
4 changed files with 9 additions and 6 deletions

View File

@@ -177,6 +177,7 @@
// uni.$on('onP2PMessage', this.onMessage)
this.talkTo = e;
console.log(this.talkTo)
// 根据Id
this.$store
.dispatch('createChatObj', {
@@ -185,6 +186,9 @@
})
.then(res => {
this.localData = res.data;
console.log(res.data)
if (e.windowType == 'SINGLE') {
uni.setNavigationBarTitle({
title: this.localData.fromInfo.nickName