diff --git a/src/components/auth/authorization-card.tsx b/src/components/auth/authorization-card.tsx index be8b6de..d1f6585 100644 --- a/src/components/auth/authorization-card.tsx +++ b/src/components/auth/authorization-card.tsx @@ -82,6 +82,7 @@ export function AuthorizationCard({ alt={client.name} width={64} height={64} + unoptimized className="rounded-full object-cover" /> ) : ( diff --git a/src/components/layout/nav-bar.tsx b/src/components/layout/nav-bar.tsx index a31e61a..f941702 100644 --- a/src/components/layout/nav-bar.tsx +++ b/src/components/layout/nav-bar.tsx @@ -67,6 +67,7 @@ export function NavBar() { width={36} height={36} alt={user.name || "用户头像"} + unoptimized className="h-full w-full object-cover" onError={(e) => { const target = e.target as HTMLImageElement;