ant-design-pro icon indicating copy to clipboard operation
ant-design-pro copied to clipboard

ProTable 当列valueType是select或cascader,且选项是多选的时候会报Each child in a list should have a unique "key" prop🐛 [BUG]

Open echoyl opened this issue 2 years ago • 1 comments

🐛 bug 描述

如题

📷 复现步骤 | Recurrence steps

🏞 期望结果 | Expected results

💻 复现代码 | Recurrence code

© 版本信息

  • Ant Design Pro 版本: [e.g. 4.0.0]
  • umi 版本 4.0
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

image

echoyl avatar Aug 16 '22 08:08 echoyl

以下的 Issues 可能会帮助到你 / The following issues may help you

  • [#9792][51%]

github-actions[bot] avatar Aug 16 '22 08:08 github-actions[bot]

你的数据没有设置value把,默认是拿value当key的

chenshuai2144 avatar Nov 06 '22 14:11 chenshuai2144

是怎么实现valueType是select时可以多选的

miaoziwei avatar Jul 28 '23 05:07 miaoziwei

filedProps 里面可以设置的

chenshuai2144 avatar Jul 29 '23 04:07 chenshuai2144