|
@@ -207,7 +207,14 @@ export default defineComponent({
|
|
|
// 查看详情
|
|
|
const onDetail = (item: any) => {
|
|
|
// 默认进页面显示对应的曲谱
|
|
|
- let lineType = item.scoreType || 'FIRST';
|
|
|
+ // let lineType = item.scoreType || 'FIRST';
|
|
|
+ const lineType = item.scoreType === 'FIRST'
|
|
|
+ ? 'firstTone'
|
|
|
+ : item.scoreType === 'JIAN'
|
|
|
+ ? 'fixedTone'
|
|
|
+ : item.scoreType === 'STAVE'
|
|
|
+ ? 'staff'
|
|
|
+ : 'firstTone';
|
|
|
let src = `${vaildMusicScoreUrl()}/instrument?v=${+new Date()}&platform=pc&id=${
|
|
|
item.id
|
|
|
}&Authorization=${
|