diff --git a/web2/src/pages/ChatHistory.tsx b/web2/src/pages/ChatHistory.tsx index acc3df5..5cb3dcd 100644 --- a/web2/src/pages/ChatHistory.tsx +++ b/web2/src/pages/ChatHistory.tsx @@ -367,7 +367,14 @@ export function ChatHistory() { - + { e.stopPropagation(); setDeleteTarget(session) }} + className="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-red-50 hover:text-red-500" + aria-label="删除" + > + + + )