Compare commits

..

No commits in common. "2ab61d52965d5d645a318bd6f6316ce6ae43e318" and "cacdfd4e896906b51a8255fac3a2bb3329158c92" have entirely different histories.

2 changed files with 5 additions and 10 deletions

View File

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

View File

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