antvis / XFlow

React component for building interactive diagrams.
https://x6.antv.antgroup.com/xflow/guide/introduction
MIT License
573 stars 235 forks source link

registerCustomNode 缺少参数 #233

Closed arthur657834 closed 2 years ago

arthur657834 commented 2 years ago

问题描述

registerCustomNode需要必填参数:

函数定义: export const registerCustomNode = ( panelConfigs: IRegisterNode | IRegisterNode[], )

错误行:

export const setNodeRender = config => { registerCustomNode()

文件路径: https://github.com/antvis/XFlow/blob/master/packages/xflow-extension/src/flowchart-node-panel/utils.tsx

重现链接

https://github.com/antvis/XFlow/blob/master/packages/xflow-extension/src/flowchart-node-panel/utils.tsx

重现步骤

  1. 文件utils.tsx 第114行registerCustomNode缺少参数

预期行为

添加registerCustomNode参数

平台

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

lyn-boyu commented 2 years ago

thanks for your report we will fix this issue ASAP

lyn-boyu commented 2 years ago

https://github.com/antvis/XFlow/pull/235

xflow-bot[bot] commented 1 year ago

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.