|
@@ -1011,7 +1011,7 @@ export default defineComponent({
|
|
|
const instrument = state.instrumentList.find((instr: any) => instr.value === item)
|
|
|
if (instrument) {
|
|
|
selectInstrumentList.push({
|
|
|
- instrumentName: instrument.label,
|
|
|
+ instrumentName: instrument?.label,
|
|
|
instrumentId: item,
|
|
|
audioFileUrl: ''
|
|
|
})
|
|
@@ -1272,8 +1272,6 @@ export default defineComponent({
|
|
|
|
|
|
const existSoundList = data.musicSheetSoundList ? data.musicSheetSoundList : []
|
|
|
|
|
|
- console.log(existSoundList, "existSoundList--")
|
|
|
-
|
|
|
const tracks = [] as any
|
|
|
state.partListNames.forEach((item: any) => {
|
|
|
let audioFileUrl = null
|
|
@@ -1296,11 +1294,13 @@ export default defineComponent({
|
|
|
firstPdfUrl = next.firstPdfUrl
|
|
|
jianPdfUrl = next.jianPdfUrl
|
|
|
|
|
|
- const instrument = state.instrumentList.find((instr: any) => instr.value === next.musicalInstrumentId)
|
|
|
+ const instrument = state.instrumentList.find(
|
|
|
+ (instr: any) => instr.value === next.musicalInstrumentId
|
|
|
+ )
|
|
|
trackSingleSoundList.push({
|
|
|
audioFileUrl: next.audioFileUrl,
|
|
|
instrumentId: next.musicalInstrumentId,
|
|
|
- instrumentName: instrument.label
|
|
|
+ instrumentName: instrument?.label
|
|
|
})
|
|
|
}
|
|
|
}
|