瀏覽代碼

mergetest

wenbobowen 4 年之前
父節點
當前提交
33d77f890a
共有 1 個文件被更改,包括 7 次插入1 次删除
  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']),
     ...mapGetters(['bizId']),
     src() {
     src() {
       const bizId = EncryptId(`${this.bizId}`)
       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)}`
       const src = `${host}${this.srcHost}${encodeURIComponent(bizId)}`
       return src
       return src
     }
     }