工作流节点库 patchLayout 驱动贴片布局开关显示(对齐内容创作)
- NodeLibraryItem 增加 patchLayout 字段(节点库返回,仅 model 节点 true) - nodeConfigMap 聚合透传节点库 patchLayout,开关显示条件由 modelType 范围改为 nodeConfig.patchLayout - 移除不再使用的 isVideoModelSelected 判断 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -39,6 +39,8 @@ export interface NodeLibraryItem {
|
||||
// 节点自带输出项([{ field, label }]):空/null 表示无输出;非空时该节点可作为下游节点的引用来源
|
||||
outputField?: { field: string; label: string }[] | null;
|
||||
presetOption: NodeLibraryPresetOption[] | null;
|
||||
// 是否支持贴片布局(节点库返回,仅 model 节点 true):控制节点配置面板「贴片布局」开关显示
|
||||
patchLayout?: boolean;
|
||||
}
|
||||
|
||||
export interface NodeLibraryGroup {
|
||||
|
||||
Reference in New Issue
Block a user