|
@@ -631,6 +631,13 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 生成节拍器为空时清空所有生成过的数据
|
|
|
+ if(!forms.isMixBeat) {
|
|
|
+ musicSheetSoundList.forEach((item: any) => {
|
|
|
+ item.audioBeatMixUrl = null
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
const obj = {
|
|
|
musicCategoryId: forms.musicCategoryId,
|
|
|
musicCover: forms.musicCover,
|
|
@@ -1279,6 +1286,7 @@ export default defineComponent({
|
|
|
musicalInstrumentId: item.id + '',
|
|
|
musicalInstrumentName: item.name,
|
|
|
audioFileUrl: null,
|
|
|
+ audioBeatMixUrl: null,
|
|
|
audioPlayType: 'PLAY'
|
|
|
})
|
|
|
})
|
|
@@ -1437,6 +1445,8 @@ export default defineComponent({
|
|
|
) {
|
|
|
forms.musicSheetSoundList_YZ[j].audioFileUrl =
|
|
|
state.musicSheetSoundList[i].audioFileUrl
|
|
|
+ forms.musicSheetSoundList_YZ[j].audioBeatMixUrl =
|
|
|
+ state.musicSheetSoundList[i].audioBeatMixUrl
|
|
|
}
|
|
|
}
|
|
|
}
|