feat(ai-web): 完成自研流程图的保存
This commit is contained in:
13
service-web/client/src/components/flow/node/OutputNode.tsx
Normal file
13
service-web/client/src/components/flow/node/OutputNode.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import type {NodeProps} from '@xyflow/react'
|
||||
import AmisNode, {outputsFormColumns} from './AmisNode.tsx'
|
||||
import React from 'react'
|
||||
|
||||
const OutputNode = (props: NodeProps) => AmisNode({
|
||||
nodeProps: props,
|
||||
type: 'end',
|
||||
defaultNodeName: '输出节点',
|
||||
defaultNodeDescription: '定义输出变量',
|
||||
columnSchema: outputsFormColumns(true),
|
||||
})
|
||||
|
||||
export default React.memo(OutputNode)
|
||||
Reference in New Issue
Block a user