update
This commit is contained in:
parent
0654e1254f
commit
a4459d4c2b
@ -35,7 +35,7 @@ wepy.app({
|
||||
}
|
||||
},
|
||||
globalData: {
|
||||
versions: 'v5.5.79', // 版本号
|
||||
versions: 'v5.5.80', // 版本号
|
||||
navBarHeight: 0, // 导航栏高度
|
||||
navRight: 0, // 胶囊距右方间距(方保持左、右间距一致)
|
||||
navTop: 0, // 胶囊距顶部间距
|
||||
|
||||
@ -1055,7 +1055,8 @@ wepy.page({
|
||||
// 在当前页面接收到别人发送过来的消息
|
||||
reception(e) {
|
||||
let vm = this
|
||||
if (e.to != vm.otherUserId) {
|
||||
console.log(e, 'e===')
|
||||
if (e.from != vm.otherUserId || e.scene == 'team') {
|
||||
return
|
||||
}
|
||||
vm.sendMsgReceipt(e)
|
||||
@ -1600,6 +1601,7 @@ wepy.page({
|
||||
vm.getHistoryMsg()
|
||||
// 实时获取对方发送的消息
|
||||
app.globalData.nim.on('msg', function (e) {
|
||||
console.log('333')
|
||||
vm.reception(e)
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user