mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Adjust the distance between the loop body and loop nodes (#4095)
This commit is contained in:
parent
e46cb54e45
commit
070fb0fdbe
|
|
@ -135,7 +135,7 @@ const mountLoopBodyNode = () => {
|
|||
if (!nodeOutgoingNode.some((item: any) => item.type == loopBodyNode.type)) {
|
||||
let workflow = { nodes: [loopStartNode], edges: [] }
|
||||
let x = props.nodeModel.x
|
||||
let y = props.nodeModel.y + 200
|
||||
let y = props.nodeModel.y + 350
|
||||
if (props.nodeModel.properties.node_data.loop_body) {
|
||||
workflow = props.nodeModel.properties.node_data.loop_body
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue