diff --git a/public/react/src/modules/courses/members/teacherList.js b/public/react/src/modules/courses/members/teacherList.js index 9e20bd64d..b741d6b12 100644 --- a/public/react/src/modules/courses/members/teacherList.js +++ b/public/react/src/modules/courses/members/teacherList.js @@ -37,7 +37,7 @@ function buildColumns(that) { dataIndex: 'name', key: 'index', render: (content, item, index) => { - return {(that.state.page - 1) * 20 + index + 1}  + return item.isApply == true ? '' : {(that.state.page - 1) * 20 + index + 1 - that.application_list.length}  } } // ,{ @@ -546,6 +546,7 @@ class studentsList extends Component{ const combineArray = teachers.slice(0) if (page == 1) { this.state.application_list && this.state.application_list.slice(0).reverse().forEach(item => { + item.isApply = true combineArray.unshift(item) }) }