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