skyblued 2 years ago
parent
commit
60c404176c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/coursewarePlay/index.tsx

+ 4 - 1
src/views/coursewarePlay/index.tsx

@@ -13,7 +13,10 @@ export default defineComponent({
   name: 'CoursewarePlay',
   setup() {
     postMessage({
-      api: 'setRequestedOrientation'
+      api: 'setRequestedOrientation',
+      content:{
+        orientation: 1
+      }
     })
     const route = useRoute()
     const data = reactive({