fix: no var type value hide

This commit is contained in:
Joel
2025-06-10 15:06:17 +08:00
parent b73e64b975
commit 2efdacd28b

View File

@ -64,7 +64,7 @@ const FormInputItem: FC<Props> = ({
const isFile = type === FormTypeEnum.file || type === FormTypeEnum.files
const showTypeSwitch = isNumber || isObject || isArray
const isVariable = varInput?.type === VarKindType.variable
const isConstant = varInput?.type === VarKindType.constant
const isConstant = varInput?.type === VarKindType.constant || !varInput?.type
const { availableVars, availableNodesWithParent } = useAvailableVarList(nodeId, {
onlyLeafNodeVar: false,