|
@@ -36,9 +36,9 @@ export default defineComponent({
|
|
|
const renderError = ref(false);
|
|
|
const renderSuccess = ref(false);
|
|
|
const origin = /(localhost|192)/.test(location.host)
|
|
|
- ? // ? 'https://test.lexiaoya.cn'
|
|
|
- 'http://localhost:3000/instrument.html'
|
|
|
- : location.origin + '/instrument';
|
|
|
+ ? 'https://test.lexiaoya.cn/instrument'
|
|
|
+ : // 'http://localhost:3000/instrument.html'
|
|
|
+ location.origin + '/instrument';
|
|
|
const src = `${origin}?showGuide=true&platform=pc&zoom=1.2&modelType=practise&id=${props.music.content}&Authorization=${userStore.getToken}`;
|
|
|
const checkView = () => {
|
|
|
fetch(src)
|