Просмотр исходного кода

Merge branch '01/06_classMerge' into online

mo 4 лет назад
Родитель
Сommit
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(","),
           });