From a889ed8402745e5034e9d4710c60fc47b06c76fe Mon Sep 17 00:00:00 2001 From: claude-code-best Date: Wed, 1 Apr 2026 15:40:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20Settings=20?= =?UTF-8?q?=E4=B8=AD=E6=9C=AA=E5=AE=9A=E4=B9=89=E7=9A=84=20Gates=20?= =?UTF-8?q?=E5=BC=95=E7=94=A8=EF=BC=8C=E4=BF=AE=E5=A4=8D=20config=20?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gates 是 Anthropic 内部组件,反编译版本中不存在,运行时引用导致 ReferenceError。 Co-Authored-By: Claude Opus 4.6 --- src/components/Settings/Settings.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index e4cb31c..cec9ecc 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -95,8 +95,7 @@ export function Settings(t0) { } let t7; if ($[13] !== contentHeight) { - const GatesComponent = Gates as any; - t7 = false ? [] : []; + t7 = []; $[13] = contentHeight; $[14] = t7; } else {