From bb65da4aa879fd6ee138859be8cd5f73406f1091 Mon Sep 17 00:00:00 2001
From: ddCat <2695092045@qq.com>
Date: Sun, 2 Aug 2026 22:42:19 +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=81=A2=E5=A4=8D=E5=88=9B=E5=BB=BA=E7=89=88?=
=?UTF-8?q?=E8=80=97=E6=97=B6=E6=A0=87=E7=AD=BE=E6=9D=A1=E4=BB=B6=E9=81=BF?=
=?UTF-8?q?=E5=85=8D=E7=94=9F=E4=BA=A7=E6=9E=84=E5=BB=BA=E5=A4=B1=E8=B4=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web/src/components/model-picker.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/src/components/model-picker.tsx b/web/src/components/model-picker.tsx
index e0bde0fb1..dcae57c81 100644
--- a/web/src/components/model-picker.tsx
+++ b/web/src/components/model-picker.tsx
@@ -124,7 +124,7 @@ export function ModelPicker({ config, value, onChange, capability, className, fu
window.requestAnimationFrame(() => triggerRef.current?.focus());
}}
>
-
+
{selected ? : null}
);
@@ -182,7 +182,7 @@ function emptyModelLabel(config: AiConfig, capability?: ModelCapability) {
return config.models.length ? `暂无匹配的${label}模型` : "请先到配置里添加渠道和模型";
}
-function ModelLabel({ config, model, capability, theme }: { config: AiConfig; model: string; capability?: ModelCapability; theme: (typeof canvasThemes)[keyof typeof canvasThemes] }) {
+function ModelLabel({ config, model, capability, theme, creationVariant }: { config: AiConfig; model: string; capability?: ModelCapability; theme: (typeof canvasThemes)[keyof typeof canvasThemes]; creationVariant: boolean }) {
const meta = modelMenuMeta(model, capability);
return (