Browse Source

windy地图调整

yl 8 months ago
parent
commit
c0f0a3c341
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cpp-ui/src/views/windy/index.vue

+ 2 - 2
cpp-ui/src/views/windy/index.vue

@@ -14,7 +14,7 @@ export default {
   components: {},
   data() {
     return {
-      height: document.documentElement.clientHeight - 79.5 + "px;",
+      height: document.documentElement.clientHeight - 45.5 + "px;",
       url: "http://192.168.1.34:8000/"
       // url:process.env.VUE_APP_BASE_API + "/static/windy.html"
     };
@@ -25,7 +25,7 @@ export default {
     }, 300);
     const that = this;
     window.onresize = function temp() {
-      that.height = document.documentElement.clientHeight - 79.5  + "px;";
+      that.height = document.documentElement.clientHeight - 45.5  + "px;";
     };
   }
 };