update
This commit is contained in:
parent
d593f0b469
commit
0654e1254f
@ -1055,6 +1055,9 @@ wepy.page({
|
||||
// 在当前页面接收到别人发送过来的消息
|
||||
reception(e) {
|
||||
let vm = this
|
||||
if (e.to != vm.otherUserId) {
|
||||
return
|
||||
}
|
||||
vm.sendMsgReceipt(e)
|
||||
if (e.type == 'text' && /\[[^\]]+\]/.test(e.body)) {
|
||||
e.body = vm.transitionMsg(e.body)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user