yuanyiming 1 year ago
parent
commit
2585973e9d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/eva/studentDetail.vue

+ 3 - 0
src/views/eva/studentDetail.vue

@@ -498,7 +498,10 @@ export default {
       this.termData.splice(0, 1, this.termId)
       this.termData.splice(0, 1, this.termId)
       // this.num = this.num + 1
       // this.num = this.num + 1
       // if (this.num <= this.stuList.length - 1) {
       // if (this.num <= this.stuList.length - 1) {
+
       this.stuId = e
       this.stuId = e
+      this.num = this.stuList.indexOf(this.stuId)
+
       // console.log(this.stuId)
       // console.log(this.stuId)
       localStorage.setItem('userId', e)
       localStorage.setItem('userId', e)
       this.getTermRecord()
       this.getTermRecord()