skyblued 2 年之前
父节点
当前提交
60c404176c
共有 1 个文件被更改,包括 4 次插入1 次删除
  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({