skyblued 2 năm trước cách đây
mục cha
commit
60c404176c
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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({