prerelease.5 bugfixes

This commit is contained in:
zombieyang
2025-11-11 23:15:51 +08:00
parent 5c849ebf30
commit 1e8543cc3c
8 changed files with 5546 additions and 5518 deletions
+5522 -5515
View File
File diff suppressed because one or more lines are too long
+21
View File
@@ -271,6 +271,27 @@ export default function (sdppp, version = 1) {
formatter: switchFormatter
})
/**
* Handle LoadVideos
* 处理 LoadVideos 节点
*/
sdppp.widgetable.add('LoadVideo', {
formatter: (node) => {
if (!node.widgets?.length) {
return null;
}
return {
title: getTitle(node),
widgets: [{
value: node.widgets[0].value,
outputType: "video",
options: node.widgets[0].options,
uiWeight: 12
}]
}
},
setter: () => false
})
/**
* Handle LoadImage
* 处理 LoadImage 节点