This commit is contained in:
Mr.jiang 2024-07-26 16:25:07 +08:00
parent 23b83afc8f
commit dca866d900
2 changed files with 10 additions and 5 deletions

View File

@ -144,8 +144,9 @@
},
onLoad(d) {
this.userId = this.$queue.getData('userId');
this.byUserId = d.byUserId
this.chatConversationId = d.chatConversationId;
let scoket = uni.getStorageSync('wbescokt')
this.byUserId = scoket.byUserId
this.chatConversationId = scoket.chatConversationId;
this.connect();
},
computed: {

View File

@ -262,9 +262,13 @@
if (res.data) {
let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId
uni.navigateTo({
url: '/pages/msg/im?chatConversationId=' + res.data.chatConversationId +
'&byUserId=' + res.data.userId
})
url: '/pages/msg/im'
});
var list={
chatConversationId:res.data.chatConversationId,
byUserId:res.data.userId
}
uni.setStorageSync('wbescokt',list)
}
})
},