fix: 阻止用户头像点击事件传播

This commit is contained in:
CrescentLeaf
2025-10-04 15:35:16 +08:00
parent debdb93935
commit 1fa91279e2

View File

@@ -89,7 +89,10 @@ export default function Message({ userId, rawData, renderHTML, message, openUser
height: "43px",
margin: "11px"
}}
onClick={() => openUserInfoDialog(userId)} />
onClick={(e) => {
e.stopPropagation()
openUserInfoDialog(userId)
}} />
{
// 发送者昵称(右)
!isAtRight && <span