fix: Unable to select loop node parameters after page refresh (#4111)

This commit is contained in:
shaohuzhang1 2025-09-25 17:36:43 +08:00 committed by GitHub
parent 801891de82
commit 7a0daeda24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,12 @@
import LoopNode from './index.vue'
import { AppNode, AppNodeModel } from '@/workflow/common/app-node'
import { WorkflowType } from '@/enums/application'
class LoopNodeView extends AppNode {
constructor(props: any) {
const config = props.model.properties.config
super(props, LoopNode)
props.model.properties.config = config
}
}
class LoopModel extends AppNodeModel {