fix(admin): 渠道模型 - 补充 1440P 分辨率并支持自定义档位

This commit is contained in:
ddCat committed 2026-08-15 22:11:02 +08:00
1 parent 7804574f9f
commit ee1e1fa2be
5 files changed
+24 -3

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
export const VIDEO_DURATION_OPTIONS = [6, 9, 10, 15] as const;
export const VIDEO_RESOLUTION_OPTIONS = [480, 720, 1080, 1440, 2160] as const;
export const VIDEO_RESOLUTION_CAPABILITY_OPTIONS = VIDEO_RESOLUTION_OPTIONS.map((value) => `${value}p`);
export const VIDEO_DURATION_MIN = 1;
export function normalizeVideoDuration(value: string | number | undefined) {