瀏覽代碼

Merge branch '08/24teamQuest' into 11/24SAAS

mo 2 年之前
父節點
當前提交
050a046764
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/teamBuild/components/soundSetComponents/soundSetCore.vue

+ 2 - 1
src/views/teamBuild/components/soundSetComponents/soundSetCore.vue

@@ -324,7 +324,7 @@ export default {
         if (res.code == 200) {
           let activeSound = [];
           this.activeSoundList = [];
-
+          if(res.data?.subjectMap){
           for (let key in res.data.subjectMap) {
             console.log(key, "key", res.data.subjectMap[key], "name");
             activeSound.push(key * 1);
@@ -335,6 +335,7 @@ export default {
               })
             );
           }
+        }
           // this.activeSoundList = res.data.map((item) => {
           //   activeSound.push(item.id);
           //   return this.initSound(item);