Compare commits
No commits in common. "2ab61d52965d5d645a318bd6f6316ce6ae43e318" and "cacdfd4e896906b51a8255fac3a2bb3329158c92" have entirely different histories.
2ab61d5296
...
cacdfd4e89
|
@ -144,9 +144,8 @@
|
||||||
},
|
},
|
||||||
onLoad(d) {
|
onLoad(d) {
|
||||||
this.userId = this.$queue.getData('userId');
|
this.userId = this.$queue.getData('userId');
|
||||||
let scoket = uni.getStorageSync('wbescokt')
|
this.byUserId = d.byUserId
|
||||||
this.byUserId = scoket.byUserId
|
this.chatConversationId = d.chatConversationId;
|
||||||
this.chatConversationId = scoket.chatConversationId;
|
|
||||||
this.connect();
|
this.connect();
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -261,13 +261,9 @@
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId
|
let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/msg/im'
|
url: '/pages/msg/im?chatConversationId=' + res.data.chatConversationId +
|
||||||
});
|
'&byUserId=' + res.data.userId
|
||||||
var list={
|
})
|
||||||
chatConversationId:res.data.chatConversationId,
|
|
||||||
byUserId:res.data.userId
|
|
||||||
}
|
|
||||||
uni.setStorageSync('wbescokt',list)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue