Skip to content

Commit e6d8c17

Browse files
committed
fix: Unable to select loop node parameters after page refresh
1 parent 801891d commit e6d8c17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/workflow/nodes/loop-node/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import LoopNode from './index.vue'
22
import { AppNode, AppNodeModel } from '@/workflow/common/app-node'
33
import { WorkflowType } from '@/enums/application'
4+
45
class LoopNodeView extends AppNode {
56
constructor(props: any) {
7+
const config = props.model.properties.config
68
super(props, LoopNode)
9+
props.model.properties.config = config
710
}
811
}
912
class LoopModel extends AppNodeModel {

0 commit comments

Comments
 (0)