mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
parent
f4b10a9e7c
commit
abecc44d38
@ -717,7 +717,7 @@ export default class Table extends React.Component {
|
||||
// 优化本地排序
|
||||
data = data.slice(0);
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
data[i].indexForSort = i;
|
||||
data[i] = { ...data[i], indexForSort: i };
|
||||
}
|
||||
const sorterFn = this.getSorterFn();
|
||||
if (sorterFn) {
|
||||
|
Loading…
Reference in New Issue
Block a user