From 922791a0f5fb936241b28d712c4acdc9060eeba3 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Fri, 9 Jan 2026 00:44:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(wip):=20=E6=8B=89=E5=8F=96=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/ui/chat-fragment/ChatFragment.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/client/ui/chat-fragment/ChatFragment.tsx b/client/ui/chat-fragment/ChatFragment.tsx index b160232..c1d6692 100644 --- a/client/ui/chat-fragment/ChatFragment.tsx +++ b/client/ui/chat-fragment/ChatFragment.tsx @@ -44,10 +44,21 @@ export default function ChatFragment({ const inputRef = React.useRef() const chatPagePanelRef = React.useRef() + /** + * 发送消息, 成功则清空文本 + */ async function performSendMessage() { await chatInfo.sendMessageOrThrow(inputRef.current!.value) inputRef.current!.value = '' } + /** + * 拉取更多消息 + * 本质是修改获取的偏移? + * WIP + */ + async function pullMoreMessages() { + + } return (