From 56a16d2e7a3c0b63b2ad77ce337673d8bb974bbf Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 20 Feb 2026 17:32:08 +0800 Subject: [PATCH] fix: hide image count selector when only one output is allowed --- components/image-params-bar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/image-params-bar.tsx b/components/image-params-bar.tsx index 83e181f23..9a0e7fbb1 100644 --- a/components/image-params-bar.tsx +++ b/components/image-params-bar.tsx @@ -138,6 +138,7 @@ export function ImageParamsBar({ }); const imageCountOptions = getImageCountOptions(); + const showImageCountSelector = !hideImageCount && imageCountOptions.length > 1; // 是否显示阿里生图专用参数 const isAlibabaImage = providerType === "alibaba-image"; @@ -224,7 +225,7 @@ export function ImageParamsBar({ - {!hideImageCount && ( + {showImageCountSelector && (