TIANYONG 8 hónapja
szülő
commit
b1b148706e
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/state.ts

+ 1 - 1
src/state.ts

@@ -1492,7 +1492,7 @@ function initMusicSource(data: any, tracks: string[], partIndex: number, workRec
       return item.audioPlayType === "PLAY"
     })
     // 如果specialInstrumentIds有多个,是打击乐的声部,打击乐声部可能有多个乐器id
-    if (storeData.user?.specialInstrumentIds?.length) {
+    if (storeData.user?.specialInstrumentIds?.length > 1) {
       musicObj = musicSheetSoundList.find((item: any) => {
         return isAllSubject ? item.audioPlayType === "PLAY" : (item.audioPlayType === "PLAY" && storeData.user?.specialInstrumentIds?.includes(item.musicalInstrumentId))
       })