Selaa lähdekoodia

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

mo 2 vuotta sitten
vanhempi
commit
050a046764

+ 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);