提交 f5b4ad72 编写于 作者: A afc163

Fix selectRowKeys for rowKey demo, ref #533

上级 a9057092
......@@ -325,6 +325,9 @@ let AntTable = React.createClass({
},
getRecordKey(record, index) {
if (this.props.rowKey) {
return this.props.rowKey(record, index);
}
return record.key || index;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册