feat(web): 增加节点图标

This commit is contained in:
v-zhangjc9
2025-07-12 20:46:12 +08:00
parent 60f6b79167
commit 5b9920449d
2 changed files with 8 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ function FlowEditor(props: FlowEditorProps) {
type: 'group',
label: group,
children: NodeRegistry.filter(i => isEqual(group, i.group))
.map(i => ({key: i.key, label: i.name}))
.map(i => ({key: i.key, label: i.name, icon: i.icon})),
})),
onClick: ({key}) => {
try {