|
@@ -1478,7 +1478,7 @@ const getMusicInfo = async (res: any) => {
|
|
|
downloadXmlStr.value = xmlString //给musice-score 赋值xmlString 以免加载2次
|
|
|
const tracks = xmlToTracks(xmlString) //获取声轨列表
|
|
|
// 是否显示节拍器 (管乐迷 默认显示节拍器)
|
|
|
- //state.isMixBeat = res.data?.isMixBeat
|
|
|
+ state.isMixBeat = res.data?.isMixBeat
|
|
|
/* 设置partIndex */
|
|
|
let partIndexs = query["part-index"] ? query["part-index"].split(",") : ["-1"] // -1为partIndex没有值的时候
|
|
|
// 如果传入的是part-name,需要将part-name转换成part-index
|
|
@@ -1694,7 +1694,7 @@ function initMusicSource(data: any, tracks: string[], partIndex: number, workRec
|
|
|
}
|
|
|
/* 目前 管乐迷没有用到 后台生成的节拍器 */
|
|
|
// 当使用节拍器的时候才加载节拍器音频
|
|
|
- if(state.isMixBeat && false) {
|
|
|
+ if(state.isMixBeat) {
|
|
|
Object.assign(state.beatSong, {
|
|
|
music: musicObj?.audioBeatMixUrl,
|
|
|
accompany: accompanyObj?.audioBeatMixUrl,
|