Browse Source

嵌入环境平台

reedliuqing_i 5 years ago
parent
commit
72806544ab
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/env/index.vue

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

@@ -5,6 +5,7 @@
 </template>
 
 <script>
+import { host } from '@/apiConfig/requestIP.js'
 export default {
   name: 'ENV',
   data() {
@@ -15,7 +16,7 @@ export default {
   },
   computed: {
     envUrl() {
-      return 'http://10.179.181.222:8866/' + this.$route.name
+      return host + '/env/#/' + this.$route.name
     }
   },
   mounted() {