From 9ece8b87fbf413ea3e220541400ecad9739706e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=BB=E6=89=BE=E4=B8=80=E6=9D=9F=E5=85=89?= <6@6-2.vip> Date: Sat, 30 Nov 2024 00:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=A8=AA=E5=B9=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/auth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/auth.tsx b/app/components/auth.tsx index 6ae112f9840..6c83a516dfd 100644 --- a/app/components/auth.tsx +++ b/app/components/auth.tsx @@ -136,7 +136,7 @@ function TopBanner() { // 如果标记不存在,存储默认值并显示横幅 if (!bannerDismissed) { storage.setItem("bannerDismissed", "false"); - setIsVisible(true); // 显示横幅 + setIsVisible(false); // 显示横幅 } else if (bannerDismissed === "true") { // 如果标记为 "true",则隐藏横幅 setIsVisible(false);