wenbobowen 4 år sedan
förälder
incheckning
33d77f890a
1 ändrade filer med 7 tillägg och 1 borttagningar
  1. 7 1
      src/views/useCase/components/requirementCase.vue

+ 7 - 1
src/views/useCase/components/requirementCase.vue

@@ -25,7 +25,13 @@ export default {
     ...mapGetters(['bizId']),
     src() {
       const bizId = EncryptId(`${this.bizId}`)
-      const host = getEnv() === 'test' ? 'http://10.96.83.94:9000/index.html#' : 'http://agiletc.intra.xiaojukeji.com/#'
+      const host = getEnv() === 'test' ? 
+      'http://10.96.83.94:9000/index.html#'
+      :
+      getEnv() === 'pre' ?
+      'http://agiletc-pre.intra.xiaojukeji.com/'
+      :
+      'http://agiletc.intra.xiaojukeji.com/#'
       const src = `${host}${this.srcHost}${encodeURIComponent(bizId)}`
       return src
     }