dedsudiyu 2 年之前
父节点
当前提交
11ea0e6b64
共有 1 个文件被更改,包括 1 次插入22 次删除
  1. 1 22
      src/App.vue

+ 1 - 22
src/App.vue

@@ -10,14 +10,6 @@
   // import DevicePixelRatio from '@/utils/devicePixelRatio'
   export default  {
     name:  'App',
-    data() {
-      return {
-        windowHeight:"",
-        desktopHeight:"",
-        desktopWidth:"",
-        color: 'red'
-      }
-    },
     metaInfo() {
       return {
         title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
@@ -71,25 +63,12 @@
   }
 </script>
 <style>
-  html{
-    margin:0;
-    padding:0;
-    height:100%;
-    width:100%;
-    overflow: hidden;
-  }
-  body{
+  html,body{
     margin:0;
     padding:0;
     height:100%;
     width:100%;
     overflow: hidden;
-    /*height:1080px;*/
-    /*width:1920px;*/
-    /*transform-origin: left top;*/
-    /*display: flex;*/
-    /*flex-direction: column;*/
-    /*flex:1;*/
   }
   #app{
     transform-origin: left top;