|
@@ -16,6 +16,9 @@ export default defineComponent({
|
|
|
activeModel: {
|
|
|
type: Boolean
|
|
|
},
|
|
|
+ instrumentId: {
|
|
|
+ type: String
|
|
|
+ },
|
|
|
/** 当前是否为选中状态 */
|
|
|
activeStatus: {
|
|
|
type: Boolean
|
|
@@ -45,9 +48,12 @@ export default defineComponent({
|
|
|
// ? 'https://test.lexiaoya.cn/instrument'
|
|
|
// : // 'http://localhost:3000/instrument.html'
|
|
|
// location.origin + '/instrument';
|
|
|
- const src = `${vaildMusicScoreUrl()}/instrument/?v=${+new Date()}&showGuide=true&showWebGuide=false&platform=pc&zoom=1.2&modelType=practise&id=${
|
|
|
+ let src = `${vaildMusicScoreUrl()}/instrument/?v=${+new Date()}&showGuide=true&showWebGuide=false&platform=pc&zoom=1.2&modelType=practise&id=${
|
|
|
props.music.content
|
|
|
}&Authorization=${userStore.getToken}&imagePos=${props.imagePos}`;
|
|
|
+ if (props.instrumentId) {
|
|
|
+ src += `&instrumentId=${props.instrumentId}`;
|
|
|
+ }
|
|
|
const checkView = () => {
|
|
|
fetch(src)
|
|
|
.then(() => {
|