Browse Source

Merge branch '01/06_classMerge' into online

mo 4 năm trước cách đây
mục cha
commit
9d96b48e12
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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(","),
           });