浏览代码

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(","),
           });