diff --git a/src/components/ChatUI.tsx b/src/components/ChatUI.tsx index e5e88c8..16723b2 100644 --- a/src/components/ChatUI.tsx +++ b/src/components/ChatUI.tsx @@ -191,6 +191,8 @@ const ChatUI = () => { }; const handleSendMessage = async () => { + //判断是否Loding + if (isLoading) return; if (!inputMessage.trim()) return; // 添加用户消息