zouyu
2023-11-17 d8ac6057eaad648687699e25a575f3b7b8c1b102
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 配置编译环境和线上环境之间的切换
 
const env = process.env
const baseUrl = ''
// 图表库为avue和pig2套地址
//const iconfontVersion = ['667895_v7uduh4zui','1638883_38cl38o35i2']
const iconfontVersion = ['icon_index','icon_login','font_awesome']
//const iconfontUrl = '//at.alicdn.com/t/font_$key.css'
const iconfontUrl = '/$key.css'
const codeUrl = `${window.location.origin}/code`
const actUrl = `${window.location.origin}/act/modeler.html?modelId=`
if (env.NODE_ENV === 'development') {
 
} else if (env.NODE_ENV === 'production') {
 
} else if (env.NODE_ENV === 'test') {
 
}
export {
  baseUrl,
  actUrl,
  iconfontUrl,
  iconfontVersion,
  codeUrl,
  env
}