瀏覽代碼

01/15

修复BUG
mo 5 年之前
父節點
當前提交
1ce45af814
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/views/teamDetail/components/studentList.vue

+ 5 - 1
src/views/teamDetail/components/studentList.vue

@@ -805,7 +805,11 @@ export default {
       getMusicGroupAllClass({ musicGroupId: this.teamid }).then(res => {
         if (res.code == 200) {
           this.classList = res.data;
-          res.data.forEach(item => {
+          this.signList = [];
+          this.mixList = [];
+          this.highList = [];
+          this.snapList = [];
+          this.classList.forEach(item => {
             if (item.type == 'NORMAL') {
               this.signList.push(item);
             } else if (item.type == 'MIX') {