فهرست منبع

Merge branch '01/06_classMerge' into online

mo 4 سال پیش
والد
کامیت
9d96b48e12
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/views/teamDetail/componentClass/classCompound.vue

+ 2 - 1
src/views/teamDetail/componentClass/classCompound.vue

@@ -192,7 +192,8 @@ export default {
         ) {
           flag = true;
         }
-        if (com.id != this.radio) {
+
+        if (com.id != this.radio&&com.studentList?.length>0) {
           this.classGroupStudents.push({
             [com.id]: com.studentList.map((stu) => stu.userId).join(","),
           });