fix: is contant detect

pull/22091/head
Joel 12 months ago
parent 32c1f9b263
commit 45941778c9

@ -63,7 +63,7 @@ const FormInputItem: FC<Props> = ({
const isAppSelector = type === FormTypeEnum.appSelector
const isModelSelector = type === FormTypeEnum.modelSelector
const showTypeSwitch = isNumber || isObject || isArray
const isConstant = varInput?.type === VarKindType.constant
const isConstant = varInput?.type === VarKindType.constant || !varInput?.type
const showVariableSelector = isFile || varInput?.type === VarKindType.variable
const { availableVars, availableNodesWithParent } = useAvailableVarList(nodeId, {

Loading…
Cancel
Save