|
@@ -9,7 +9,10 @@ export default {
|
|
install (Vue) {
|
|
install (Vue) {
|
|
// 请求前缀
|
|
// 请求前缀
|
|
// Vue.prototype.$axios.defaults.baseURL = 'http://127.0.0.1:300'
|
|
// Vue.prototype.$axios.defaults.baseURL = 'http://127.0.0.1:300'
|
|
- Vue.prototype.$axios.defaults.baseURL = 'http://42.193.189.65:300'
|
|
|
|
|
|
+ // Vue.prototype.$axios.defaults.baseURL = 'http://42.193.189.65:300'
|
|
|
|
+ // test
|
|
|
|
+ Vue.prototype.$axios.defaults.baseURL = 'http://203.189.213.228:300'
|
|
|
|
+
|
|
// 设置超时时间
|
|
// 设置超时时间
|
|
Vue.prototype.$axios.defaults.timeout = 10000
|
|
Vue.prototype.$axios.defaults.timeout = 10000
|
|
// 请求封装
|
|
// 请求封装
|