This commit is contained in:
parent
23b83afc8f
commit
dca866d900
|
@ -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: {
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue