|
@@ -6,7 +6,7 @@ import 'iview/dist/styles/iview.css';
|
|
import axios from 'axios';
|
|
import axios from 'axios';
|
|
import ElementUI from 'element-ui';
|
|
import ElementUI from 'element-ui';
|
|
import 'element-ui/lib/theme-chalk/index.css';
|
|
import 'element-ui/lib/theme-chalk/index.css';
|
|
-axios.defaults.baseURL = 'http://localhost:8443/api';
|
|
|
|
|
|
+axios.defaults.baseURL = 'http://auctionuser.aiyangniu.net/api';
|
|
axios.defaults.headers.post['Content-Type'] = 'application/x-www-from-urlencoded';
|
|
axios.defaults.headers.post['Content-Type'] = 'application/x-www-from-urlencoded';
|
|
|
|
|
|
Vue.prototype.$axios = axios;
|
|
Vue.prototype.$axios = axios;
|