From ca9e0f9263772329a6d839becd999cd6f7f6c4d5 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 27 May 2024 08:39:36 +0800 Subject: [PATCH] update color --- .../Header/components/Join/index.tsx | 2 +- src/components/Header/index.tsx | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/Header/components/Join/index.tsx b/src/components/Header/components/Join/index.tsx index da1b0f4bf..ff1675e4a 100644 --- a/src/components/Header/components/Join/index.tsx +++ b/src/components/Header/components/Join/index.tsx @@ -196,7 +196,7 @@ const Join: FC = ({ return (
JoinOverlay(globalSetting?.setting?.add) } placement="bottomRight"> - + = ({ } } - const handleCert = async (e: React.MouseEvent) => { - e.preventDefault(); - const res = await getEngineerUrl(); - if (res?.data?.engineer_url) { - document.location.href = res?.data?.engineer_url - } else if (res?.status != 401) { - setQQVisible(true) - } - } + // const handleCert = async (e: React.MouseEvent) => { + // e.preventDefault(); + // const res = await getEngineerUrl(); + // if (res?.data?.engineer_url) { + // document.location.href = res?.data?.engineer_url + // } else if (res?.status != 401) { + // setQQVisible(true) + // } + // } if (globalSetting.showHeader && globalSetting.showHeaderFooter) { return ( @@ -352,7 +352,7 @@ const HeaderComponents: FC = ({ {!isLogin && !!user?.userInfo?.login && } { !!user?.userInfo?.login && - {user?.userInfo?.message_unread_total > 0 ? :""} + {user?.userInfo?.message_unread_total > 0 ? :""} } }