From 109ba70534dab49c3fc613ab4fc877504b4778dc 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:09:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor(app):=20=E8=B0=83=E6=95=B4=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E9=A1=B5=E9=9D=A2=E5=92=8C=E8=AE=BE=E7=BD=AE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=20Saas=20=E7=9B=B8=E5=85=B3=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 AuthPage 组件中注释掉了 Saas 相关的 IconButton - 在 Settings 组件中注释掉了 saasStartComponent 的渲染 - 调整了 AuthPage 中 TopBanner 组件的 isVisible 初始值为 false --- app/components/auth.tsx | 6 +++--- app/components/settings.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/auth.tsx b/app/components/auth.tsx index 5375bda3f70..6ae112f9840 100644 --- a/app/components/auth.tsx +++ b/app/components/auth.tsx @@ -115,12 +115,12 @@ export function AuthPage() { type="primary" onClick={goChat} /> - { goSaas(); }} - /> + /> */} ); @@ -128,7 +128,7 @@ export function AuthPage() { function TopBanner() { const [isHovered, setIsHovered] = useState(false); - const [isVisible, setIsVisible] = useState(true); + const [isVisible, setIsVisible] = useState(false); const isMobile = useMobileScreen(); useEffect(() => { // 检查 localStorage 中是否有标记 diff --git a/app/components/settings.tsx b/app/components/settings.tsx index a74ff17b1f5..c1f766362f4 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -1692,7 +1692,7 @@ export function Settings() { - {saasStartComponent} + {/* {saasStartComponent} */} {accessCodeComponent} {!accessStore.hideUserApiKey && (