fix: render inputs (#3384)

This commit is contained in:
Archer
2024-12-13 08:06:05 +08:00
committed by GitHub
parent e71708ee76
commit b596976a96

View File

@@ -90,10 +90,9 @@ const RenderInput = ({ flowInputList, nodeId, CustomComponent, mb = 5 }: Props)
if (input.isPro && !feConfigs?.isPlus) return false;
const renderType = input.renderTypeList?.[input.selectedTypeIndex || 0];
if (renderType === FlowNodeInputTypeEnum.hidden) return false;
const isDynamic = !!input.canEdit;
if (isDynamic) return false;
if (renderType === FlowNodeInputTypeEnum.hidden && !isDynamic) return false;
return true;
});