We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 009e631 commit 0b8abd5Copy full SHA for 0b8abd5
ui/src/workflow/common/NodeControl.vue
@@ -113,7 +113,6 @@ function fitView() {
113
}
114
const layout = () => {
115
props.lf?.extension.dagre.layout()
116
- console.log(props.lf)
117
props.lf?.graphModel.nodes.forEach((node: any) => {
118
if (node.type === 'loop-body-node') {
119
node?.loopLayout?.()
ui/src/workflow/index.vue
@@ -110,11 +110,10 @@ const renderGraphData = (data?: any) => {
110
// 清除当前节点下面的子节点的所有缓存
111
data.nodeModel.clear_next_node_field(false)
112
})
- if (lf.value.graphModel?.nodes.length > 1) {
- setTimeout(() => {
- lf.value?.fitView()
- }, 500)
- }
+
+ setTimeout(() => {
+ lf.value?.fitView()
+ }, 500)
120
0 commit comments