深圳或然科技官网
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.

38 lines
1.0 KiB

2 years ago
/**
* 业务配置
* */
const isDev = process.env.NODE_ENV === 'development' // 开发环境
let host = `${location.origin}/`
if (isDev) {
// host = 'http://192.168.31.52:10000/'
1 year ago
host = 'https://huorantech.com/'
2 years ago
}
const Setting = {
/**
* 基础配置
* */
titleSuffix: '深圳或然科技官网', // 网页标题的后缀
routerMode: "hash", // 路由模式,可选值为 history 或 hash
apiBaseURL: host, // 接口请求地址
2 years ago
huoranApi: `https://www.occupationlab.com/`,
2 years ago
autoLogoutTime: 3600000, // 长时间未操作,自动退出登录时间
modalDuration: 3, // 接口请求返回错误时,弹窗的持续时间,单位:秒
errorModalType: "Message", // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice
isDev,
/**
* 路由白名单
* */
2 years ago
whiteList: ['/column/result', '/aboutUs', '/supplier'],
2 years ago
/**
* 英文站点id数组
* */
enIds: [1, 4, 6],
/**
* localStorage里保存的vuex的key
*/
storeKey: "huoran_client_store"
};
export default Setting;