antvis / XFlow

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

引入组件时,控制台key报错 #384

Closed wangjingithub closed 1 year ago

wangjingithub commented 1 year ago

问题描述

控制台打印Warning: Each child in a list should have a unique "key" prop. Check the render method of NodePanelBody. See https://reactjs.org/link/warning-keys for more information.

重现链接

https://codesandbox.io/s/ysquyr

重现步骤

引入组件x-flow时,控制台key报错

预期行为

解决报错

平台

屏幕截图或视频(可选)

image

补充说明(可选)

No response

xflow-bot[bot] commented 1 year ago

👋 @wangjingithub

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

xflow-bot[bot] commented 5 months 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.