From 3fdf43e78c0fd51d57dc34c4c5bc16fdc5b12cef Mon Sep 17 00:00:00 2001 From: JJ-Choi1999 <2486595624@qq.com> Date: Thu, 1 May 2025 17:02:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81=EF=BC=8Cdi?= =?UTF-8?q?fy=20=E7=8E=AF=E5=A2=83=E9=BB=98=E8=AE=A4=E6=94=B9=E4=B8=BAfals?= =?UTF-8?q?e=EF=BC=8C=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=8E=AF=E5=A2=83tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app/components/header/env-nav/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/app/components/header/env-nav/index.tsx b/web/app/components/header/env-nav/index.tsx index cec933a4c5..756a3237a5 100644 --- a/web/app/components/header/env-nav/index.tsx +++ b/web/app/components/header/env-nav/index.tsx @@ -13,7 +13,9 @@ const headerEnvClassName: { [k: string]: string } = { const EnvNav = () => { const { t } = useTranslation() const { langeniusVersionInfo } = useAppContext() - const showEnvTag = langeniusVersionInfo.current_env === 'TESTING' || langeniusVersionInfo.current_env === 'DEVELOPMENT' + // const showEnvTag = langeniusVersionInfo.current_env === 'TESTING' || langeniusVersionInfo.current_env === 'DEVELOPMENT' + // [todo] 之后改为读取配置项或页面控制关联 + const showEnvTag = false if (!showEnvTag) return null