You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
456 B
18 lines
456 B
1 year ago
|
// 在浏览器 window 对象中新建名为 APP 的容器变量, 用于存放平台的全局变量
|
||
|
window.APP = {};
|
||
|
// 全局配置
|
||
9 months ago
|
window.APP.configure = {
|
||
1 year ago
|
// 应用上下文路径
|
||
9 months ago
|
webContextPath: '[(@{/})]',
|
||
|
|
||
1 year ago
|
// 默认后端 API 请求的服务地址前缀
|
||
|
apiContextPaths: {
|
||
9 months ago
|
DEFAULT: '[(@{/})]'
|
||
8 months ago
|
},
|
||
|
|
||
|
// 是否是独立部署的前端
|
||
|
isAloneFrontend: false,
|
||
|
|
||
|
// router 历史模式
|
||
|
routerHistoryMode: 'hash',
|
||
1 year ago
|
};
|