|
|
@@ -25,7 +25,7 @@ Vue.prototype.$axios = axios;
|
|
|
// import qs from 'qs'
|
|
|
Vue.prototype.qs = Qs; // 全局注册,使用方法为:this.qs
|
|
|
// Vue.prototype.$http = "http://106.119.196.18:10004";
|
|
|
-Vue.prototype.$http = window.location.host;
|
|
|
+Vue.prototype.$http = window.location.origin;
|
|
|
/* eslint-disable no-new */
|
|
|
const ElementUI = require("element-ui");
|
|
|
Vue.use(ElementUI);
|