diff --git a/ui/src/workflow/index.vue b/ui/src/workflow/index.vue index 2ae4639f1..e78fd5282 100644 --- a/ui/src/workflow/index.vue +++ b/ui/src/workflow/index.vue @@ -67,7 +67,6 @@ const renderGraphData = (data?: any) => { }, isSilentMode: false, container: container, - saa: 'sssssss', }) lf.value.setTheme({ bezier: { @@ -129,6 +128,7 @@ const onmousedown = (shapeItem: ShapeItem) => { properties: { ...shapeItem.properties }, }) } + if (shapeItem.callback) { shapeItem.callback(lf.value) } diff --git a/ui/src/workflow/nodes/loop-node/index.vue b/ui/src/workflow/nodes/loop-node/index.vue index 89f3dc3ff..d05896e7f 100644 --- a/ui/src/workflow/nodes/loop-node/index.vue +++ b/ui/src/workflow/nodes/loop-node/index.vue @@ -170,7 +170,9 @@ onMounted(() => { } } set(props.nodeModel, 'validate', validate) - mountLoopBodyNode() + if (!props.nodeModel.virtual) { + mountLoopBodyNode() + } }) diff --git a/ui/src/workflow/nodes/mcp-node/index.vue b/ui/src/workflow/nodes/mcp-node/index.vue index 3f88b101d..df4eb2e0f 100644 --- a/ui/src/workflow/nodes/mcp-node/index.vue +++ b/ui/src/workflow/nodes/mcp-node/index.vue @@ -246,8 +246,8 @@ + -