|
|
@ -64,6 +64,7 @@ const App = (props) => {
|
|
|
|
width:150,
|
|
|
|
width:150,
|
|
|
|
dataIndex: 'student_count',
|
|
|
|
dataIndex: 'student_count',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
sorter: (a, b) => a.student_count - b.student_count,
|
|
|
|
sorter: (a, b) => a.student_count - b.student_count,
|
|
|
|
// sorter: (a, b) => a.age - b.age
|
|
|
|
// sorter: (a, b) => a.age - b.age
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -183,6 +184,7 @@ const App = (props) => {
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
with: 130,
|
|
|
|
with: 130,
|
|
|
|
render: (val) => val + '',
|
|
|
|
render: (val) => val + '',
|
|
|
|
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
sorter: (a, b) => a.passed_games_count - b.passed_games_count
|
|
|
|
sorter: (a, b) => a.passed_games_count - b.passed_games_count
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|