|
@@ -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
|
|
|
}
|