lex преди 9 месеца
родител
ревизия
e88824ea81
променени са 1 файла, в които са добавени 2 реда и са изтрити 9 реда
  1. 2 9
      src/views/exercise-after-class/index.tsx

+ 2 - 9
src/views/exercise-after-class/index.tsx

@@ -350,19 +350,12 @@ export default defineComponent({
     // 去练习
     const gotoPractice = (e: any) => {
       handleStopVideo()
-      // const url = window.location.origin + location.pathname + `#/accompany`
-      // postMessage({
-      //   api: 'openWebView',
-      //   content: {
-      //     url: url,
-      //     orientation: 1
-      //   }
-      // })
       e.stopPropagation()
       const parmas = qs.stringify({
-        id: item.value.materialMusicId
+        id: data.videoData.materialMusicId
       })
       const src = `${location.origin}/orchestra-music-score/?` + parmas
+      console.log(src, 'src')
       postMessage({
         api: 'openAccompanyWebView',
         content: {