fix(lists): key 48 loops with verified identity or positional semantics
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -635,7 +635,7 @@
|
||||
catFilter = "all";
|
||||
}}>全部<small>{rows.length}</small></button
|
||||
>
|
||||
{#each [["image", "图片生成"], ["video", "视频生成"]] as [value, label]}
|
||||
{#each [["image", "图片生成"], ["video", "视频生成"]] as [value, label] (value)}
|
||||
<button
|
||||
class="mg-filter"
|
||||
class:on={kindFilter === value}
|
||||
@@ -647,7 +647,7 @@
|
||||
></button
|
||||
>
|
||||
{/each}
|
||||
{#each categories.filter((c) => c !== "image" && c !== "video") as c}<button
|
||||
{#each categories.filter((c) => c !== "image" && c !== "video") as c (c)}<button
|
||||
class="mg-filter"
|
||||
class:on={catFilter === c}
|
||||
onclick={() => {
|
||||
@@ -665,7 +665,7 @@
|
||||
onclick={() => (familyFilter = "all")}
|
||||
>全部模型<small>{rows.length}</small></button
|
||||
>
|
||||
{#each families as f}<button
|
||||
{#each families as f (f)}<button
|
||||
class="mg-filter"
|
||||
class:on={familyFilter === f}
|
||||
onclick={() => (familyFilter = f)}
|
||||
@@ -733,7 +733,7 @@
|
||||
/></label
|
||||
>
|
||||
<div class="mg-seg workflow-state" aria-label="工作流状态">
|
||||
{#each [["all", "全部"], ["enabled", "可运行"], ["pending", "待配置"], ["problem", "有问题"]] as [value, label]}<button
|
||||
{#each [["all", "全部"], ["enabled", "可运行"], ["pending", "待配置"], ["problem", "有问题"]] as [value, label] (value)}<button
|
||||
class:on={statusFilter === value}
|
||||
aria-pressed={statusFilter === value}
|
||||
onclick={() => (statusFilter = value as typeof statusFilter)}
|
||||
@@ -906,7 +906,7 @@
|
||||
});
|
||||
}}
|
||||
><option value="">待确认</option
|
||||
>{#each WORKFLOW_USAGES as u}<option value={u}
|
||||
>{#each WORKFLOW_USAGES as u (u)}<option value={u}
|
||||
>{usageLabel(u)}</option
|
||||
>{/each}</select
|
||||
><Button
|
||||
@@ -927,7 +927,7 @@
|
||||
<h3>输入映射 <span class="mg-dim">· 节点 → 创作台控件</span></h3>
|
||||
{#if fullPending[row.id]}<p class="mg-dim">
|
||||
正在读取输入…
|
||||
</p>{:else if full}{#each full.input_schema as input}<div
|
||||
</p>{:else if full}{#each full.input_schema as input (input.nodeId)}<div
|
||||
class="mg-map"
|
||||
>
|
||||
<span class="a"
|
||||
@@ -952,7 +952,7 @@
|
||||
endpointId: e.currentTarget.value || null,
|
||||
})}
|
||||
><option value="">跟随默认连接</option
|
||||
>{#each endpoints as ep}<option value={ep.id}>{ep.name}</option
|
||||
>{#each endpoints as ep (ep.id)}<option value={ep.id}>{ep.name}</option
|
||||
>{/each}</select
|
||||
><Switch
|
||||
checked={row.is_enabled}
|
||||
|
||||
Reference in New Issue
Block a user