From 4570ee3a21ce3b4c3113b8625fc4b59f43394d78 Mon Sep 17 00:00:00 2001 From: ltlzx <942659938@qq.com> Date: Mon, 11 Jul 2022 02:52:20 -0400 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Header.vue | 4 ++-- src/main.js | 4 +++- src/utils/request.js | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/Header.vue b/src/components/Header.vue index 5c6dfd8..6a91a3b 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -11,8 +11,8 @@ {{name}} - - + +
我的应用 diff --git a/src/main.js b/src/main.js index 9b80a3b..250e67b 100644 --- a/src/main.js +++ b/src/main.js @@ -17,8 +17,10 @@ import echarts from "echarts"; Vue.use(Antd); Vue.config.productionTip = false Vue.prototype.$echarts = echarts; -Vue.prototype.$host = 'http://58.30.231.138:8899' + +// Vue.prototype.$host = 'http://58.30.231.138:8899' // Vue.prototype.$host = 'http://10.24.4.156' +Vue.prototype.$host = 'http://10.14.1.197:9090' // Vue.prototype.$host = 'http://127.0.0.1' diff --git a/src/utils/request.js b/src/utils/request.js index 2ff8392..d5493bd 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -4,8 +4,10 @@ const service = axios.create({ // process.env.NODE_ENV === 'development' 来判断是否开发环境 // baseURL:process.env.NODE_ENV == 'production' ? 'https://yztapi.xingtongworld.com' : '/api/', // baseURL:'http://jiao.api.alpha.xingtongworld.com', - baseURL:'http://58.30.231.138:8899', //测试服 + // baseURL:'http://58.30.231.138:8899', //测试服 // baseURL:'http://10.24.4.156', //正式服 + + baseURL:'10.14.1.197:9090', //新服 // baseURL:'http://192.168.66.254:8080', timeout: 5000, });