Explorar o código

Merge branch '01/06_classMerge' into online

mo %!s(int64=4) %!d(string=hai) anos
pai
achega
9d96b48e12
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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(","),
           });