feat: 首次推送到Gitea - 完整项目代码 + 安全加固 + 知识库
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
TrendingUp,
|
||||
} from "lucide-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { LazyImage } from "@/components/ui/LazyImage";
|
||||
|
||||
interface SourceMetrics {
|
||||
replyCount: number;
|
||||
@@ -268,7 +269,7 @@ export default function BotAdversarialLearningClient() {
|
||||
className="w-full px-4 py-3 flex items-center gap-3 hover:bg-slate-50"
|
||||
>
|
||||
{l.botAvatar ? (
|
||||
<img src={l.botAvatar} alt={l.botName} className="w-8 h-8 rounded-full object-cover" />
|
||||
<LazyImage src={l.botAvatar} alt={l.botName} width={32} height={32} className="w-8 h-8 rounded-full object-cover" />
|
||||
) : (
|
||||
<div className="w-8 h-8 rounded-full bg-violet-100 text-violet-600 flex items-center justify-center text-sm font-medium">
|
||||
{l.botName?.charAt(0) || "?"}
|
||||
|
||||
Reference in New Issue
Block a user