This commit is contained in:
parent
23b83afc8f
commit
dca866d900
|
@ -144,8 +144,9 @@
|
||||||
},
|
},
|
||||||
onLoad(d) {
|
onLoad(d) {
|
||||||
this.userId = this.$queue.getData('userId');
|
this.userId = this.$queue.getData('userId');
|
||||||
this.byUserId = d.byUserId
|
let scoket = uni.getStorageSync('wbescokt')
|
||||||
this.chatConversationId = d.chatConversationId;
|
this.byUserId = scoket.byUserId
|
||||||
|
this.chatConversationId = scoket.chatConversationId;
|
||||||
this.connect();
|
this.connect();
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -262,9 +262,13 @@
|
||||||
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?chatConversationId=' + res.data.chatConversationId +
|
url: '/pages/msg/im'
|
||||||
'&byUserId=' + res.data.userId
|
});
|
||||||
})
|
var list={
|
||||||
|
chatConversationId:res.data.chatConversationId,
|
||||||
|
byUserId:res.data.userId
|
||||||
|
}
|
||||||
|
uni.setStorageSync('wbescokt',list)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue