fix(*): 画布与任务详情 - 优化生成参数展示、批量上传和默认模型状态

This commit is contained in:
ddCat committed 2026-08-23 09:08:20 +08:00
1 parent d77432693e
commit 70a6640ecf
22 files changed
+1990 -57

No files matched your search

+3 -1
View File
@@ -188,7 +188,9 @@ export function videoResolutionLabel(value: string) {
export function videoSizeLabel(value: string) {
const ratio = normalizeSeedanceRatio(value);
if (value === "adaptive" || value === "auto") return "自适应";
if (ratio === value) return seedanceRatioOptions.find((item) => item.value === ratio)?.label || ratio;
// The compact summary must mirror the selected value (for example 16:9),
// while the settings panel can still use semantic labels such as 横屏.
if (ratio === value) return ratio;
const size = normalizeVideoSizeValue(value);
return sizeOptions.find((item) => item.value === size)?.label || size;
}