From 0654e1254f90c7b2dc7c2c62864c204ddc5aee55 Mon Sep 17 00:00:00 2001 From: lanzhihui <503792708@qq.com> Date: Fri, 22 Nov 2024 17:01:35 +0800 Subject: [PATCH] update --- src/pages/news/chitchat.wpy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/news/chitchat.wpy b/src/pages/news/chitchat.wpy index 2435bfe..f3f162a 100644 --- a/src/pages/news/chitchat.wpy +++ b/src/pages/news/chitchat.wpy @@ -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)