diff --git a/calliope-web/src/lib/components/AttachToProject.svelte b/calliope-web/src/lib/components/AttachToProject.svelte index 2a6e35da..9ff1cda2 100644 --- a/calliope-web/src/lib/components/AttachToProject.svelte +++ b/calliope-web/src/lib/components/AttachToProject.svelte @@ -171,7 +171,7 @@ {t('attach.projectField')} @@ -192,7 +192,7 @@ {t('attach.characterField')} @@ -205,7 +205,7 @@ {t('attach.locationField')} @@ -230,7 +230,7 @@ {t('attach.sceneField')} diff --git a/calliope-web/src/lib/components/ComfyDynamicForm.svelte b/calliope-web/src/lib/components/ComfyDynamicForm.svelte index 7c46b7cc..4c0e4e78 100644 --- a/calliope-web/src/lib/components/ComfyDynamicForm.svelte +++ b/calliope-web/src/lib/components/ComfyDynamicForm.svelte @@ -382,7 +382,8 @@ }} > - {#each assetOptions as opt} + + {#each assetOptions as opt, i (i)} {/each} @@ -423,7 +424,8 @@ }} > - {#each assetOptions as opt} + + {#each assetOptions as opt, i (i)} {/each} @@ -454,7 +456,8 @@ }} > - {#each assetOptions as opt} + + {#each assetOptions as opt, i (i)} {/each} diff --git a/calliope-web/src/lib/components/LanguageSwitcher.svelte b/calliope-web/src/lib/components/LanguageSwitcher.svelte index c6492659..f4ac7eb2 100644 --- a/calliope-web/src/lib/components/LanguageSwitcher.svelte +++ b/calliope-web/src/lib/components/LanguageSwitcher.svelte @@ -14,7 +14,7 @@ {#if segmented}
- {#each languages as [code, label]}{/if}
- {#each spec as s}{s.label} · {s.value} + {#each spec as s, i (i)}{s.label} · {s.value}{/each}{#if endpoint}{endpoint}{/if}
{#if inputs.length || prompt} diff --git a/calliope-web/src/lib/components/desk/DeskWorkflowRail.svelte b/calliope-web/src/lib/components/desk/DeskWorkflowRail.svelte index de70ee13..3f7efbd9 100644 --- a/calliope-web/src/lib/components/desk/DeskWorkflowRail.svelte +++ b/calliope-web/src/lib/components/desk/DeskWorkflowRail.svelte @@ -206,7 +206,7 @@ - {#each usages as u}{/each} @@ -222,7 +222,7 @@ - {#each families as f}{/each} diff --git a/calliope-web/src/lib/components/desk/StudioDesk.svelte b/calliope-web/src/lib/components/desk/StudioDesk.svelte index 4fca08f5..3e810c5f 100644 --- a/calliope-web/src/lib/components/desk/StudioDesk.svelte +++ b/calliope-web/src/lib/components/desk/StudioDesk.svelte @@ -1356,9 +1356,9 @@
diff --git a/calliope-web/src/lib/components/desk/WorkflowBay.svelte b/calliope-web/src/lib/components/desk/WorkflowBay.svelte index 465e3247..99502ccf 100644 --- a/calliope-web/src/lib/components/desk/WorkflowBay.svelte +++ b/calliope-web/src/lib/components/desk/WorkflowBay.svelte @@ -174,7 +174,7 @@ recentOnly = false; }}>全部工具{metas.length} - {#each categories as cat}{#each commonInputs .filter((i) => i !== ds.height) - .slice(0, 3) as inp} - {#each [["image", "图片生成"], ["video", "视频生成"]] as [value, label]} + {#each [["image", "图片生成"], ["video", "视频生成"]] as [value, label] (value)} {/each} - {#each categories.filter((c) => c !== "image" && c !== "video") as c} - {#each families as f}{#each applicableSkills.filter((s) => (skillLabel(s.dir) + s.description) .toLowerCase() - .includes(skillSearch.toLowerCase())) as skill}{#each $settingsQuery.data?.llm_profiles ?? [] as model}

任务队列 规则说明

- {#each QUEUE_FIELDS.filter((f) => f.key === "queue_concurrency" || f.key === "queue_poll_timeout_sec") as f}
f.key === "queue_concurrency" || f.key === "queue_poll_timeout_sec") as f (f.key)}
@@ -480,7 +480,7 @@

队列高级选项

- {#each QUEUE_FIELDS.filter((f) => f.key !== "queue_concurrency" && f.key !== "queue_poll_timeout_sec") as f}{@render numberField( + {#each QUEUE_FIELDS.filter((f) => f.key !== "queue_concurrency" && f.key !== "queue_poll_timeout_sec") as f (f.key)}{@render numberField( s, f, )}{/each} diff --git a/calliope-web/src/routes/tasks/+page.svelte b/calliope-web/src/routes/tasks/+page.svelte index bce7b670..4469a925 100644 --- a/calliope-web/src/routes/tasks/+page.svelte +++ b/calliope-web/src/routes/tasks/+page.svelte @@ -187,7 +187,7 @@ {#snippet tools()}
- {#each [["all", "全部"], ["active", "进行中"], ["failed", "失败"], ["image", "图片"], ["video", "视频"]] as [value, label]}
{#if job.output_paths?.length}

产出 · {job.output_paths.length}

- {#each job.output_paths as path}
+ + {#each job.output_paths as path, i (i)}
{#if job.kind === "image"}