代码正常运行,但是这一块报红
来源:6-6 前后端分页功能整合

尘同学
2021-06-01
控制台警告:Warning: [antdv: Each record in table should have a unique key
prop,or set rowKey
to an unique primary key.]
warning.js?2149:6 Warning: [antdv: Table] Each record in dataSource of table should have a unique key
prop, or set rowKey
of Table to an unique primary key,
代码正常运行,但是表格这一部分一直报错,老师麻烦看下
写回答
1回答
-
甲蛙
2021-06-02
报红应该只是IDEA校验代码规范,不影响
报错的是让你配置个rowKey属性,每一行应该有个唯一的rowKey
00
相似问题