소스 검색

Update index.tsx

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: {