qinzhipeng_v 5 лет назад
Родитель
Сommit
a840ffa597

+ 9 - 4
src/router/index.js

@@ -659,10 +659,15 @@ export const constantRoutes = [{
       },
       {
         path: '/apiManagement',
-        name: 'api管理',
-        component: () => import('@/views/apiManagement/index'),
-        meta: { title: 'api管理' }
-      }]
+        name: 'api管理'
+      }
+      // {
+      //   path: '/apiManagement',
+      //   name: 'api管理',
+      //   component: () => import('@/views/apiManagement/index'),
+      //   meta: { title: 'api管理' }
+      // }
+      ]
     }
   ]
 },

+ 11 - 11
src/views/apiManagement/index.vue

@@ -80,17 +80,17 @@ export default {
       home: true
     }
   },
-  // mounted() {
-  //   const that = this
-  //   window.onresize = () => {
-  //     return (() => {
-  //       window.fullHeight = document.documentElement.clientHeight
-  //       that.fullHeight = window.fullHeight
-  //       console.log(that.fullHeight, 'DSCDSSASC')
-  //     })()
-  //   }
-  //   console.log(this.fullHeight, 'DSCDSC')
-  // },
+  mounted() {
+    const that = this
+    window.onresize = () => {
+      return (() => {
+        window.fullHeight = document.documentElement.clientHeight
+        that.fullHeight = window.fullHeight
+        console.log(that.fullHeight, 'DSCDSSASC')
+      })()
+    }
+    console.log(this.fullHeight, 'DSCDSC')
+  },
   methods: {
     handleOpen(key, keyPath) {
       console.log(key, keyPath)

+ 0 - 1
src/views/automation/index.vue

@@ -1,7 +1,6 @@
 <template>
   <div>
     <iframe :src="envUrl" style="width:100%;" scrolling="yes" frameborder="0" :height="iframeHeight" />
-    {{ envUrl }}
   </div>
 </template>
 

+ 0 - 1
src/views/newWeb/index.vue

@@ -1,7 +1,6 @@
 <template>
   <div>
     <iframe :src="envUrl" style="width:100%;" scrolling="no" frameborder="0" :height="iframeHeight" />
-    {{ envUrl }}
   </div>
 </template>
 

+ 3 - 1
src/views/projectManage/Drawer.vue

@@ -508,7 +508,7 @@ export default {
   }
 
   .height_tow {
-    height: 71vh;
+    height: 70vh;
     overflow:scroll;
     overflow-x: hidden;
   }
@@ -584,9 +584,11 @@ export default {
 
   .colorSty {
     color: #DDDDDD;
+    margin-right: 10px;
   }
 
   .colorStyTow {
+    margin-right: 10px;
     cursor: pointer;
     color: #333B4A;
   }