|
@@ -1148,10 +1148,14 @@ export default defineComponent({
|
|
|
// )
|
|
|
// 新版云教练的谱面类型使用musicRenderType字段
|
|
|
const musicRenderType = staff.radio === 'staff' ? 'staff' : staff.radio === 'first' ? 'firstTone' : staff.radio === 'fixed' ? 'fixedTone' : '';
|
|
|
- musicBuy(musicDetail.value, () => {}, {
|
|
|
+ let extraParam = {
|
|
|
'part-index': item?.xmlValue || 0,
|
|
|
- musicRenderType
|
|
|
- })
|
|
|
+ musicRenderType,
|
|
|
+ }
|
|
|
+ if (route.query.tenantAlbumId) {
|
|
|
+ extraParam.albumId = route.query.tenantAlbumId
|
|
|
+ }
|
|
|
+ musicBuy(musicDetail.value, () => {}, extraParam)
|
|
|
}, 500)
|
|
|
|
|
|
throttleFn()
|