|
|
@@ -1,14 +1,8 @@ |
|
|
|
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`; |
|
|
@@ -21,10 +15,6 @@ const domain = obj.domain || ''; |
|
|
|
const iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 |
|
|
|
|
|
|
|
Vue.prototype.$domain = obj.domain || ''; |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
======= |
|
|
|
>>>>>>> yunzhu |
|
|
|
export { |
|
|
|
domain, |
|
|
|
baseUrl, |
|
|
|