diff --git a/src/pages/flowEditor/FlowEditorMain.tsx b/src/pages/flowEditor/FlowEditorMain.tsx index 36b8537..b7ff482 100644 --- a/src/pages/flowEditor/FlowEditorMain.tsx +++ b/src/pages/flowEditor/FlowEditorMain.tsx @@ -385,6 +385,7 @@ const FlowEditorMain: React.FC = (props) => { edgeTypes={edgeTypes} snapToGrid={true} snapGrid={[2, 2]} + proOptions={{ hideAttribution: true }} // 隐藏水印 nodesConnectable={!currentAppIsRunning} // 运行时禁用节点连接 nodesDraggable={!currentAppIsRunning} // 运行时禁用节点拖拽 elementsSelectable={!currentAppIsRunning} // 运行时禁用元素选择