Warning: [antdv: Each record in table should have a unique `key` prop,or set `rowKey` to ...

antD表格警告:warning.js?2149:7 Warning: [antdv: Each record in table should have a unique

问题:antD控制台警告(Warning: [antdv: Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key.] 

回答:table里加 :rowKey="record=>record.id"


 

你可能感兴趣的:(antD,ant)