初始化项目

This commit is contained in:
dengtongyu committed 2020-04-09 16:18:49 +08:00
1 parent c2e3cc50e7
commit 131fd5323c
14 files changed
+648 -10

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
// 应用的名称
const appName = "每日信访动态报送";
// 是否启用YApi
const YApi = false;
// 代理环境,1测试环境,2生产环境
const VUE_APP_PROXY = process.env.VUE_APP_PROXY
? parseInt(process.env.VUE_APP_PROXY)
: 1;
const host = (PASSID, GATEWAY) => {
// host
const HOST = YApi ? `/mock/73/${GATEWAY}` : `${PASSID}${GATEWAY}`;
return HOST;
};
module.exports = {
appName,
YApi,
VUE_APP_PROXY,
host
};