From f87e15e76d1aa499bd2cbc8fe4f41b7c1988bafe Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Sat, 11 Apr 2026 17:36:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8E=AB=E5=90=8D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/workspace/artifacts/artifact-file-detail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx b/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx index 3c207add..d67c0fed 100644 --- a/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx +++ b/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx @@ -1276,7 +1276,7 @@ function ArtifactOfficePreview({ type="button" className={cn( "rounded px-4 py-3 text-xs whitespace-nowrap", - activeSheet === sheetName + activeSheet === sheetNames[0] ? "bg-[#1500331a] text-[#000000]" : "text-muted-foreground hover:text-foreground", )}