From 5474eac554cc7391eefce5e39deaea94b22fdd1b Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sat, 4 Oct 2025 11:42:03 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=A4=8D=E5=88=B6=E6=96=87=E5=AD=97?= =?UTF-8?q?=20=E5=85=88=20trim=20=E4=B8=80=E9=81=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/ui/chat/Message.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ui/chat/Message.tsx b/client/ui/chat/Message.tsx index dd7a2e7..45ab6b2 100644 --- a/client/ui/chat/Message.tsx +++ b/client/ui/chat/Message.tsx @@ -126,7 +126,7 @@ export default function Message({ userId, rawData, renderHTML, message, ...props e.stopPropagation() setDropDownOpen(false) }}> - copyToClipboard($(dropDownRef.current as HTMLElement).find('#msg').text())}>複製文字 + copyToClipboard($(dropDownRef.current as HTMLElement).find('#msg').text().trim())}>複製文字 copyToClipboard(rawData)}>複製原文 messageJsonDialogRef.current.open = true}>查看詳情