lsc 2 years ago
parent
commit
8e8f2da376
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/components/pages/student/addCourse.vue

+ 2 - 0
src/components/pages/student/addCourse.vue

@@ -3230,6 +3230,8 @@ export default {
           this.ManAarray.push(teacherJuri[i])
           this.ManAarray.push(teacherJuri[i])
         } else if (this.checkboxList3.indexOf(teacherJuri[i].userid) != -1) {
         } else if (this.checkboxList3.indexOf(teacherJuri[i].userid) != -1) {
           this.ManAarray.push(teacherJuri[i])
           this.ManAarray.push(teacherJuri[i])
+        } else if (this.courseUserid == teacherJuri[i].userid && this.userid != this.courseUserid) {
+          this.ManAarray.push(teacherJuri[i])
         }
         }
       }
       }
     },
     },