|
@@ -70,11 +70,11 @@ export default defineComponent({
|
|
|
const renderSuccess = ref(false);
|
|
|
const showVip = ref(false);
|
|
|
const Authorization = storage.get(ACCESS_TOKEN);
|
|
|
- const origin = /(localhost|192)/.test(location.host)
|
|
|
- ? 'https://test.lexiaoya.cn'
|
|
|
- : location.origin;
|
|
|
+ // const origin = /(localhost|192)/.test(location.host)
|
|
|
+ // ? 'https://test.lexiaoya.cn'
|
|
|
+ // : location.origin;
|
|
|
let src = qs.stringifyUrl({
|
|
|
- url: origin + '/instrument',
|
|
|
+ url: vaildMusicScoreUrl() + '/instrument',
|
|
|
query: {
|
|
|
id: props.music.content,
|
|
|
modelType: 'practise',
|