Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛[BUG] nextjs下 ProTable 列设置按钮报错 #8119

Open
HansKing98 opened this issue Jan 23, 2024 · 1 comment
Open

🐛[BUG] nextjs下 ProTable 列设置按钮报错 #8119

HansKing98 opened this issue Jan 23, 2024 · 1 comment

Comments

@HansKing98
Copy link

🐛 bug 描述

  1. ProTable 的第一个demo,使用在next.js中使用时,点开表格右上方的齿轮【列设置】按钮控制台报错 A props object containing a "key" prop is being spread into JSX:

📷 复现步骤

  1. 组件库第一个demo 去掉ts部分代码,粘贴到next.js工程。
  2. 启动工程->打开页面->打开浏览器控制台->点击表格右上方齿轮->出现红色报错

🏞 期望结果

  1. 期望修复

💻 复现代码

https://codesandbox.io/p/devbox/issue-demo-procomponents-protable-48s3sc

预览地址

© 版本信息

  • ProComponents 版本: v2.6.48
  • umi 版本
  • 浏览器环境 Chrome 120.0.6099.234
  • 开发环境 Mac OS 14.2 Sonoma

🚑 其他信息

截屏2024-01-23 19.11.06

@Panda2Chan
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants