From e743d9b9552edd3bbb822f41a240c6768994d623 Mon Sep 17 00:00:00 2001 From: xiaogang <825201136@qq.com> Date: Tue, 8 Oct 2024 17:39:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=8F=91=E5=88=97=E8=A1=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 2 +- src/util/util.js | 1 + src/views/account/manage.vue | 4 ++-- src/views/distribute/addbud.vue | 4 ++++ src/views/distribute/product.vue | 10 ++++++++ vue.config.js | 40 ++++++++++++++++---------------- 6 files changed, 38 insertions(+), 23 deletions(-) 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 @@ - + - +