Fix/ecommerce video 400 bug #11

Merged
stringadmin merged 11 commits from fix/ecommerce-video-400-bug into master 2026-06-04 08:05:21 +00:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 6bb71fcc19 - Show all commits
+1 -1
View File
@@ -572,7 +572,7 @@ const maxCloneSetTotal = 16;
const maxCloneProductImages = 7;
const maxCloneReferenceImages = 20;
const cloneVideoDurationMin = 5;
const cloneVideoDurationMax = 15;
const cloneVideoDurationMax = 45;
const cloneLatestSettingStorageKey = "omniai.clone-ai.latest-setting";
const cloneVideoQualityOptions: Array<{ key: CloneVideoQualityKey; label: string; desc: string }> = [
{ key: "standard", label: "标准", desc: "快速出片" },
@@ -666,15 +666,16 @@ export default function EcommerceClonePanel({
type="range"
min={cloneVideoDurationMin}
max={cloneVideoDurationMax}
step={1}
step={5}
value={cloneVideoDuration}
onChange={(event) => setCloneVideoDuration(clampCloneVideoDuration(Number(event.target.value)))}
aria-label="短视频时长"
/>
<div className="clone-ai-duration-scale" aria-hidden="true">
<span>5</span>
<span>10</span>
<span>15</span>
<span>30</span>
<span>45</span>
</div>
</div>
</div>