From 4b15bbee7cea3714db63b77a32dc438e739191be Mon Sep 17 00:00:00 2001 From: ddCat <2695092045@qq.com> Date: Sat, 1 Aug 2026 00:34:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(canvas):=20=E6=A8=A1=E5=9E=8B=E9=80=89?= =?UTF-8?q?=E6=8B=A9=20-=20=E6=8F=90=E5=8D=87=E8=8F=9C=E5=8D=95=E5=8F=AF?= =?UTF-8?q?=E8=AF=BB=E6=80=A7=E5=B9=B6=E7=AA=81=E5=87=BA=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/model-picker.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/components/model-picker.tsx b/web/src/components/model-picker.tsx index 65b03b62d..cabdc8125 100644 --- a/web/src/components/model-picker.tsx +++ b/web/src/components/model-picker.tsx @@ -91,6 +91,7 @@ export function ModelPicker({ config, value, onChange, capability, className, fu ref={menuRef} data-canvas-no-zoom className="canvas-model-picker-menu w-[320px] max-w-[calc(100vw-24px)]" + style={{ background: theme.node.panel, color: theme.node.text }} role="listbox" aria-label={placeholder} onKeyDown={handleMenuKeyDown} @@ -203,7 +204,7 @@ function ModelPrice({ price, compact = false }: { price: { value: number; unit: if (price === undefined) return null; if (price === null) return compact ? null : 未配置; return ( - + {price.value.toLocaleString("zh-CN", { maximumFractionDigits: compact ? 3 : 6 })}/{price.unit}