fix: Unable to select loop node parameters after page refresh (#4111)
parent
801891de82
commit
7a0daeda24
|
|
@ -1,9 +1,12 @@
|
||||||
import LoopNode from './index.vue'
|
import LoopNode from './index.vue'
|
||||||
import { AppNode, AppNodeModel } from '@/workflow/common/app-node'
|
import { AppNode, AppNodeModel } from '@/workflow/common/app-node'
|
||||||
import { WorkflowType } from '@/enums/application'
|
import { WorkflowType } from '@/enums/application'
|
||||||
|
|
||||||
class LoopNodeView extends AppNode {
|
class LoopNodeView extends AppNode {
|
||||||
constructor(props: any) {
|
constructor(props: any) {
|
||||||
|
const config = props.model.properties.config
|
||||||
super(props, LoopNode)
|
super(props, LoopNode)
|
||||||
|
props.model.properties.config = config
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
class LoopModel extends AppNodeModel {
|
class LoopModel extends AppNodeModel {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue