From 08efdf4cd35fcb26b17196b66fe97e6fdfeff26d Mon Sep 17 00:00:00 2001 From: azu Date: Mon, 29 Dec 2025 17:35:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8F=91=E9=80=81=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 72 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/src/App.js b/src/App.js index 0850ea1..30e7fd6 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,5 @@ import { useEffect, useRef, useState } from "react"; import { - Avatar, Button, Card, CardBody, @@ -8,7 +7,6 @@ import { Divider, ScrollShadow, Spinner, - Textarea, } from "@heroui/react"; import { requestBotReply } from "./dsAPI"; @@ -81,8 +79,7 @@ export default function App() {
{/* 顶部 */} - - +
Chatbot Demo @@ -99,16 +96,8 @@ export default function App() { {messages.map((m) => { const isUser = m.role === "user"; return ( -
-
- +
+
-
- +
正在回复… @@ -142,25 +130,39 @@ export default function App() { {/* 输入区 */}
-
-