lex 9 месяцев назад
Родитель
Сommit
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: {