|
@@ -631,13 +631,6 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // 生成节拍器为空时清空所有生成过的数据
|
|
|
- if(!forms.isMixBeat) {
|
|
|
- musicSheetSoundList.forEach((item: any) => {
|
|
|
- item.audioBeatMixUrl = null
|
|
|
- })
|
|
|
- }
|
|
|
-
|
|
|
const obj = {
|
|
|
musicCategoryId: forms.musicCategoryId,
|
|
|
musicCover: forms.musicCover,
|
|
@@ -697,7 +690,8 @@ export default defineComponent({
|
|
|
} else if (props.type === 'edit') {
|
|
|
resData = await musicSheetSave({ ...obj, id: props.data.id })
|
|
|
}
|
|
|
- if (state.isBeatTime && forms.isMixBeat) {
|
|
|
+ //if (state.isBeatTime && forms.isMixBeat) {
|
|
|
+ if (forms.isMixBeat) {
|
|
|
beatTimeData.beatTimeOpen = true
|
|
|
beatTimeData.musicId = resData.data
|
|
|
state.showUseProjectId = resData.data
|
|
@@ -1286,7 +1280,6 @@ export default defineComponent({
|
|
|
musicalInstrumentId: item.id + '',
|
|
|
musicalInstrumentName: item.name,
|
|
|
audioFileUrl: null,
|
|
|
- audioBeatMixUrl: null,
|
|
|
audioPlayType: 'PLAY'
|
|
|
})
|
|
|
})
|
|
@@ -1445,8 +1438,6 @@ export default defineComponent({
|
|
|
) {
|
|
|
forms.musicSheetSoundList_YZ[j].audioFileUrl =
|
|
|
state.musicSheetSoundList[i].audioFileUrl
|
|
|
- forms.musicSheetSoundList_YZ[j].audioBeatMixUrl =
|
|
|
- state.musicSheetSoundList[i].audioBeatMixUrl
|
|
|
}
|
|
|
}
|
|
|
}
|