Browse Source

修改嵌入的环境平台

reedliuqing_i 5 years ago
parent
commit
08ed2f3eaa
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/views/env/index.vue

+ 6 - 1
src/views/env/index.vue

@@ -9,10 +9,15 @@ export default {
   name: 'ENV',
   data() {
     return {
-      envUrl: 'http://10.179.181.222:8866/' + this.$route.name,
+      show: true,
       iframeHeight: '720px'
     }
   },
+  computed: {
+    envUrl() {
+      return 'http://10.179.181.222:8866/' + this.$route.name
+    }
+  },
   mounted() {
     var height = window.innerHeight > document.body.clientHeight ? window.innerHeight : document.body.clientHeight
     this.iframeHeight = height + 'px'