|
|
@ -5,15 +5,14 @@ const url = location.host; |
|
|
|
const isDev = process.env.NODE_ENV === 'development' // 开发环境
|
|
|
|
const isDev = process.env.NODE_ENV === 'development' // 开发环境
|
|
|
|
let host = `${location.origin}/` |
|
|
|
let host = `${location.origin}/` |
|
|
|
if (isDev) { |
|
|
|
if (isDev) { |
|
|
|
// host = 'http://192.168.31.51:9999/'
|
|
|
|
host = 'https://huorantech.com/' |
|
|
|
host = 'http://139.159.254.212/' |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const Setting = { |
|
|
|
const Setting = { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 基础配置 |
|
|
|
* 基础配置 |
|
|
|
* */ |
|
|
|
* */ |
|
|
|
titleSuffix: '深圳或然科技官网后台', // 网页标题的后缀
|
|
|
|
titleSuffix: '职站商城后台', // 网页标题的后缀
|
|
|
|
routerMode: "hash", // 路由模式,可选值为 history 或 hash
|
|
|
|
routerMode: "hash", // 路由模式,可选值为 history 或 hash
|
|
|
|
showProgressBar: true, // 页面切换时,是否显示模拟的进度条
|
|
|
|
showProgressBar: true, // 页面切换时,是否显示模拟的进度条
|
|
|
|
apiBaseURL: host, // 接口请求地址
|
|
|
|
apiBaseURL: host, // 接口请求地址
|
|
|
|