Browse Source

修复bug

ZaiZai 8 months ago
parent
commit
6a30230edd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/App.vue

+ 3 - 0
src/App.vue

@@ -31,6 +31,9 @@ nextTick(() => {
         detectionBrowser()
         getAppVersion()
     }
+    //获取屏幕宽高
+    const dom = document.body
+    console.log('高:' + dom.clientHeight, '宽:' + dom.clientWidth)
 })
 
 //设置主题