fix(ui): remove 高清/超清 prefixes from resolution labels
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-03-01 01:36:00 +08:00
parent cd849e1a01
commit 3dba9c485d

View File

@ -256,7 +256,7 @@ export function ImageParamsBar({
// 内联模式:只返回参数按钮,嵌入工具栏
if (inline) {
const ratioLabel = params.aspectRatio === "auto" ? "智能比例" : params.aspectRatio;
const sizeLabel = params.imageSize === "4K" ? "超清4K" : `高清${params.imageSize}`;
const sizeLabel = params.imageSize;
const outputSize = getComputedOutputSize(params.aspectRatio, params.imageSize);
return (
@ -327,7 +327,7 @@ export function ImageParamsBar({
onClick={() => updateParam("imageSize", option.value)}
>
<span className="inline-flex items-center gap-1">
{option.value === "4K" ? "超清 4K" : `高清 ${option.label}`}
{option.label}
</span>
</button>
))}