|
@@ -500,6 +500,18 @@ export default defineComponent({
|
|
|
// playMode: forms.playMode,
|
|
|
// musicalInstrumentIdList: forms.musicalInstrumentIdList
|
|
|
// })
|
|
|
+
|
|
|
+ // 判断 伴唱 范唱 唱名只有上传一个都可以上传
|
|
|
+ let existFSFile = false
|
|
|
+ for (let i = 0; i < forms.fSongList.length; i++) {
|
|
|
+ let fSong = forms.fSongList[i]
|
|
|
+ if (fSong.audioFileUrl || fSong.solmizationFileUrl || fSong.femaleSolmizationFileUrl) {
|
|
|
+ musicSheetSoundList.push(fSong)
|
|
|
+ audioPlayTypes.add('SING')
|
|
|
+ existFSFile = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
if (musicSheetType == 'SINGLE') {
|
|
|
if (forms.isAllSubject) {
|
|
|
if (forms.musicSheetSoundList_all_subject) {
|
|
@@ -554,17 +566,7 @@ export default defineComponent({
|
|
|
})
|
|
|
}
|
|
|
|
|
|
- // 判断 伴唱 范唱 唱名只有上传一个都可以上传
|
|
|
- let existFSFile = false
|
|
|
- console.log(forms.fSongList, 'forms.fSongList')
|
|
|
- for (let i = 0; i < forms.fSongList.length; i++) {
|
|
|
- let fSong = forms.fSongList[i]
|
|
|
- if (fSong.audioFileUrl || fSong.solmizationFileUrl || fSong.femaleSolmizationFileUrl) {
|
|
|
- musicSheetSoundList.push(fSong)
|
|
|
- audioPlayTypes.add('SING')
|
|
|
- existFSFile = true
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
// 总谱 伴唱判断
|
|
|
if (forms.scoreAudioFileUrl || state.bSongFile) {
|