|
|
@@ -1,8 +1,14 @@ |
|
|
|
import Vue from 'vue'; |
|
|
|
/** |
|
|
|
* env文件里配置自定义运行菜单每一个js代表一个域名 |
|
|
|
<<<<<<< HEAD |
|
|
|
*/ |
|
|
|
const obj = process.env.ENV_PATH == undefined ? require('../env/dev.js') : require(process.env.ENV_PATH) |
|
|
|
======= |
|
|
|
*/ |
|
|
|
import Vue from 'vue'; |
|
|
|
const obj = process.env.ENV_PATH == undefined ? require('../env/dev.js') : require(process.env.ENV_PATH) |
|
|
|
>>>>>>> yunzhu |
|
|
|
const base = obj.baseUrl |
|
|
|
// http.js使用 |
|
|
|
const baseUrl = `${base}/autoSR/api`; |
|
|
@@ -15,7 +21,10 @@ const domain = obj.domain || ''; |
|
|
|
const iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 |
|
|
|
|
|
|
|
Vue.prototype.$domain = obj.domain || ''; |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
======= |
|
|
|
>>>>>>> yunzhu |
|
|
|
export { |
|
|
|
domain, |
|
|
|
baseUrl, |
|
|
|