mo 2 years ago
parent
commit
0848d4e163
1 changed files with 11 additions and 2 deletions
  1. 11 2
      src/views/exercise-record/modals/detail-item.tsx

+ 11 - 2
src/views/exercise-record/modals/detail-item.tsx

@@ -59,9 +59,18 @@ export default defineComponent({
       return leve
     }
     const gotoDetail = () => {
-      window.location.href =
+      const url =
         window.location.origin + `/orchestra-music-score/colexiu-report.html?id=${props.item.id}`
-
+      postMessage({
+        api: 'openAccompanyWebView',
+        content: {
+          url: url,
+          orientation: 0,
+          isHideTitle: true,
+          statusBarTextColor: false,
+          isOpenLight: true
+        }
+      })
       // window.open()
     }
     return () => (