feat(web): 调整节点入参形式

This commit is contained in:
v-zhangjc9
2025-06-26 14:38:09 +08:00
parent 873c1a1d20
commit a2aba82b6e
8 changed files with 54 additions and 196 deletions

View File

@@ -1,13 +1,12 @@
import type {NodeProps} from '@xyflow/react'
import AmisNode, {outputsFormColumns} from './AmisNode.tsx'
const EndNode = (props: NodeProps) => AmisNode(
props,
'end',
'结束节点',
'定义输出变量',
undefined,
outputsFormColumns(true),
)
const EndNode = (props: NodeProps) => AmisNode({
nodeProps: props,
type: 'end',
defaultNodeName: '结束节点',
defaultNodeDescription: '定义输出变量',
columnSchema: outputsFormColumns(true),
})
export default EndNode