liushengqiang před 1 rokem
rodič
revize
3de55a97a7

+ 1 - 1
src/components/card-preview/music-modal/index.tsx

@@ -15,7 +15,7 @@ export default defineComponent({
     const iframeRef = ref();
     const isLoaded = ref(false);
     const origin = /(localhost|192)/.test(location.host)
-      ? 'https://dev.kt.colexiu.com'
+      ? 'https://test.lexiaoya.cn'
       : location.origin;
     const src = `${origin}/instrument?modelType=practise&id=${props.item.content}&Authorization=${userStore.getToken}`;
     return () => (

+ 2 - 1
src/views/notation/index.tsx

@@ -11,7 +11,8 @@ export default defineComponent({
     const data = reactive({
       src: `${
         /(192|localhost)/.test(location.origin)
-          ? 'https://test.lexiaoya.cn'
+        //   ? 'https://test.lexiaoya.cn'
+          ? 'http://localhost:3050'
           : location.origin
       }/notation/#/create?Authorization=${Authorization}`
       //   src: `http://localhost:3050/#/create?Authorization=${Authorization}`