Procházet zdrojové kódy

优化运维中心前端效果

648540858 před 1 rokem
rodič
revize
84be003a8f

+ 3 - 3
web_src/src/components/operations.vue

@@ -1,6 +1,6 @@
 <template>
-  <div id="operations" style="width: 100%;height: 100%">
-    <el-container style="height: 82vh;">
+  <div id="operations" style="width: 100%; height: 100%">
+    <el-container >
       <el-aside width="200px" style="text-align: left">
         <el-menu :default-active="activeIndex" :height="winHeight" @select="handleSelect">
           <el-menu-item index="systemInfo">
@@ -38,7 +38,7 @@ export default {
   data() {
     return {
       loading: false,
-      winHeight: (window.innerHeight - 160) + "px",
+      winHeight: (window.innerHeight - 150) + "px",
       data: [],
       filter: "",
       activeIndex: "logFile"

+ 1 - 1
web_src/src/components/operationsForRealLog.vue

@@ -19,7 +19,7 @@ export default {
   data() {
     return {
       loading: false,
-      winHeight: window.innerHeight - 160,
+      winHeight: window.innerHeight - 180,
       data: [],
       filter: "",
       websocket: null,