|
@@ -25,13 +25,11 @@ export default {
|
|
|
...mapGetters(['bizId']),
|
|
|
src() {
|
|
|
const bizId = EncryptId(`${this.bizId}`)
|
|
|
- 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 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
|
|
|
}
|