fix: fix node valid detect (#21709)

This commit is contained in:
Minamiyama
2025-07-01 10:32:00 +08:00
committed by GitHub
parent eb9edf4908
commit 7c76458b18

View File

@@ -184,10 +184,12 @@ const VarReferencePicker: FC<Props> = ({
return startNode?.data
const node = getNodeInfoById(availableNodes, outputVarNodeId)?.data
if (node) {
return {
...node,
id: outputVarNodeId,
}
}
}, [value, hasValue, isConstant, isIterationVar, iterationNode, availableNodes, outputVarNodeId, startNode, isLoopVar, loopNode])
const isShowAPart = (value as ValueSelector).length > 2