Commit b596976a by Archer Committed by GitHub

fix: render inputs (#3384)

parent e71708ee
...@@ -90,10 +90,9 @@ const RenderInput = ({ flowInputList, nodeId, CustomComponent, mb = 5 }: Props) ...@@ -90,10 +90,9 @@ const RenderInput = ({ flowInputList, nodeId, CustomComponent, mb = 5 }: Props)
if (input.isPro && !feConfigs?.isPlus) return false; if (input.isPro && !feConfigs?.isPlus) return false;
const renderType = input.renderTypeList?.[input.selectedTypeIndex || 0]; const renderType = input.renderTypeList?.[input.selectedTypeIndex || 0];
if (renderType === FlowNodeInputTypeEnum.hidden) return false;
const isDynamic = !!input.canEdit; const isDynamic = !!input.canEdit;
if (isDynamic) return false;
if (renderType === FlowNodeInputTypeEnum.hidden && !isDynamic) return false;
return true; return true;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment