Fav77
Results
2
comments of
Fav77
> displayComponent 分支节点应该没办法自定义,分支节点下面渲染了条件节点,以及其他 children。 其实我想要 添加条件节点的按钮自定义。 我就是这个意思,我也想自定义添加条件节点的按钮自定义
> 明白了,之前是设计了 addIcon 用来自定义节点图标的,这个分支节点增加条件的按钮忘记了。可以尝试升级到 0.1.25 或者 1.0.2 版本,我都加上了 { type: "branch", name: "分支", removeConfirmTitle: "确认要删除此节点?", conditionNodeType: "condition", addableComponent: CustomAddableComponent, initialNodeData: { id: createUUID(), name: "分支", type: "branch", children: [ {...