Explorar el Código

嵌入环境平台

reedliuqing_i hace 5 años
padre
commit
72806544ab
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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() {