diff --git a/src/main.js b/src/main.js index a935770..483360d 100644 --- a/src/main.js +++ b/src/main.js @@ -30,7 +30,7 @@ Vue.prototype.$http = Axios Vue.prototype.$qs = qs; Vue.prototype.util = util // http://211.137.105.198:8020/ -Vue.prototype.HOST = process.env.NODE_ENV === "production" ? "http://xyfenfa.86698.cn/api/" : "/api/"// +Vue.prototype.HOST = process.env.NODE_ENV === "production" ? "http://cdxy.qyff.86698.cn/" : "/api/" new Vue({ router, store, diff --git a/src/util/util.js b/src/util/util.js index 7840757..f72881e 100644 --- a/src/util/util.js +++ b/src/util/util.js @@ -19,6 +19,7 @@ import { Loading } from 'element-ui' import { Toast } from 'wot-design' +axios.defaults.timeout = 10000 function conver(s) { return s < 10 ? '0' + s : s; diff --git a/src/views/account/manage.vue b/src/views/account/manage.vue index ffdb38c..b51efd7 100644 --- a/src/views/account/manage.vue +++ b/src/views/account/manage.vue @@ -42,7 +42,7 @@ - + - +