From 4c2fdabf2c47a0c07f3b3de3be5c3e8e56a5e5a4 Mon Sep 17 00:00:00 2001 From: jianjun Date: Fri, 10 Sep 2021 15:48:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=80=82=E9=85=8D=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- vue.config.js | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env.development b/.env.development index ee24708..f3819ec 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 填鸭测试环境 +VUE_APP_TITLE = 问卷调查测试环境 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VUE_APP_API_ROOT = /tduck-api # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.production b/.env.production index 243f3c8..d07c3d6 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = tudck-填鸭 +VUE_APP_TITLE = 问卷调查 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VUE_APP_API_ROOT = /tduck-api # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/vue.config.js b/vue.config.js index b988860..d1d82ce 100644 --- a/vue.config.js +++ b/vue.config.js @@ -17,7 +17,9 @@ module.exports = { // 开发环境默认开启反向代理,如果不需要请自行注释 proxy: { '/tduck-api': { - target: 'http://localhost:8999', + target: 'http://localhost:8080/api/', + //target: 'http://localhost:8116', + //target: 'http://epmet-dev.elinkservice.cn:40002', changeOrigin: true } }