feat(web): 正式提取流程设计能力到AI目录下,做代码拆分

This commit is contained in:
2025-06-23 22:51:40 +08:00
parent 7345774258
commit dc55605c99
9 changed files with 529 additions and 481 deletions

View File

@@ -0,0 +1,32 @@
import type {NodeProps} from '@xyflow/react'
import AmisNode from './AmisNode.tsx'
const EndNode = (props: NodeProps) => AmisNode(
props,
'end',
'结束节点',
'定义输出变量',
[
{
type: 'input-kvs',
name: 'fields',
addButtonText: '新增输出',
draggable: false,
keyItem: {
label: '参数名称',
},
valueItems: [
{
type: 'select',
name: 'type',
label: '参数',
required: true,
selectFirst: true,
options: [],
},
],
},
],
)
export default EndNode