qinzhipeng_v 5 years ago
parent
commit
0dd10429e2
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/views/newWeb/index.vue

+ 3 - 4
src/views/newWeb/index.vue

@@ -11,14 +11,13 @@ export default {
   data() {
   data() {
     return {
     return {
       show: true,
       show: true,
-      iframeHeight: '720px'
+      iframeHeight: '720px',
+      stable: 'http://cp-stable.intra.xiaojukeji.com/project/'
     }
     }
   },
   },
   computed: {
   computed: {
     envUrl() {
     envUrl() {
-      console.log(envTag, 'dnjkdnns')
-      return ' http://cp-stable.intra.xiaojukeji.com/project/' // 线下
-      // return ' http://cp-pre.intra.xiaojukeji.com/project/' // 线上
+      return envTag === 'test' ? 'http://cp-stable.intra.xiaojukeji.com/project/' : ' http://cp-pre.intra.xiaojukeji.com/project/'
     }
     }
   },
   },
   mounted() {
   mounted() {