|
@@ -21,12 +21,12 @@ export default defineComponent({
|
|
|
const iframeRef = ref();
|
|
|
const isLoaded = ref(false);
|
|
|
|
|
|
- let src = `${vaildMusicScoreUrl()}/instrument/#/view-figner?Authorization=${
|
|
|
+ const src = `${vaildMusicScoreUrl()}/instrument?v=${new Date().getTime()}/#/view-figner?Authorization=${
|
|
|
userStore.getToken
|
|
|
- }&code=${props.item.content}&platform=pc&type=listenMode`;
|
|
|
- if (/(localhost|192)/.test(location.host)) {
|
|
|
- src = `http://localhost:3001/instrument.html#/view-figner?Authorization=${userStore.getToken}&code=${props.item.content}&platform=pc&type=listenMode`;
|
|
|
- }
|
|
|
+ }&code=${props.item.content}&platform=pc&type=listenMode&linkSource=class`;
|
|
|
+ // if (/(localhost|192)/.test(location.host)) {
|
|
|
+ // src = `http://localhost:3001/instrument.html#/view-figner?Authorization=${userStore.getToken}&code=${props.item.content}&platform=pc&type=listenMode`;
|
|
|
+ // }
|
|
|
// if (props.item.dataJson) {
|
|
|
// src += '&dataJson=' + props.item.dataJson;
|
|
|
// }
|