We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5043f7b commit 7d6cacdCopy full SHA for 7d6cacd
1 file changed
bizyui/js/image_upload.js
@@ -39,10 +39,13 @@ function initializeDynamicInputs(node) {
39
node.inputs = [];
40
}
41
42
- // 先检查是否存在 inputcount widget
43
- let inputCountWidget = node.widgets?.find(
44
- (w) => w.name === "inputcount"
45
- );
+ //VIDU 节点不需要 inputcount 和 Update inputs 按钮
+ const isVidu = nodeIdentifier === "BizyAir_VIDU_Q3_T2V_API" || nodeIdentifier === "BizyAir_VIDU_Q3_I2V_API";
+ if (!isVidu) {
+ // 先检查是否存在 inputcount widget
46
+ let inputCountWidget = node.widgets?.find(
47
+ (w) => w.name === "inputcount"
48
+ );
49
50
// 如果不存在,先创建 inputcount widget(在按钮之前创建,确保显示顺序)
51
if (!inputCountWidget) {
@@ -125,6 +128,7 @@ function initializeDynamicInputs(node) {
125
128
126
129
127
130
});
131
+ }
132
133
// 添加下拉选择 widget
134
if (
0 commit comments