yuanyiming 1 年之前
父节点
当前提交
2585973e9d
共有 1 个文件被更改,包括 3 次插入0 次删除
  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.num = this.num + 1
       // if (this.num <= this.stuList.length - 1) {
+
       this.stuId = e
+      this.num = this.stuList.indexOf(this.stuId)
+
       // console.log(this.stuId)
       localStorage.setItem('userId', e)
       this.getTermRecord()