skyblued 2 years ago
parent
commit
1699966d6f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/coursewarePlay/index.tsx

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

@@ -82,6 +82,7 @@ export default defineComponent({
     })
     })
     const setContainer = () => {
     const setContainer = () => {
       let width = screen.height * (16 / 9)
       let width = screen.height * (16 / 9)
+      console.log('计算的屏幕宽度', width, screen.width)
       if (width > screen.width) {
       if (width > screen.width) {
         return
         return
       }
       }