Compare commits
No commits in common. "2ab61d52965d5d645a318bd6f6316ce6ae43e318" and "cacdfd4e896906b51a8255fac3a2bb3329158c92" have entirely different histories.
2ab61d5296
...
cacdfd4e89
|
@ -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: {
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue