引入组件时,控制台key报错
wangjingithub opened this issue · comments
问题描述
控制台打印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报错
预期行为
解决报错
平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
- XFlow 版本: [1.28.2 ... ]
屏幕截图或视频(可选)
补充说明(可选)
No response
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.
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.