From 06a36c666822b4f3f3e37d4555f984f0684a806b Mon Sep 17 00:00:00 2001 From: perry <292303709@qq.com> Date: Wed, 17 May 2023 09:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- yudao-ui-admin/.env.dev | 2 +- yudao-ui-admin/.env.prod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 78402f6d3..c69f3bdb5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ##前端部署 修改前端访问后端地址 -在 yudao-ui-admin 目录下,执行 npm run build:dev 命令,编译前端项目 +在 yudao-ui-admin 目录下,执行 npm run build:prod 命令,编译前端项目 将打包的dist文件内容放nginx服务访问 diff --git a/yudao-ui-admin/.env.dev b/yudao-ui-admin/.env.dev index a836d5806..26b38c703 100644 --- a/yudao-ui-admin/.env.dev +++ b/yudao-ui-admin/.env.dev @@ -5,7 +5,7 @@ ENV = 'development' VUE_APP_TITLE = 创盈商户管理系统 # 芋道管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.2.71:48080' +VUE_APP_BASE_API = 'http://192.168.1.147:48080' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/yudao-ui-admin/.env.prod b/yudao-ui-admin/.env.prod index 1734c6100..df0e4935c 100644 --- a/yudao-ui-admin/.env.prod +++ b/yudao-ui-admin/.env.prod @@ -22,4 +22,4 @@ VUE_APP_CAPTCHA_ENABLE = true VUE_APP_DOC_ENABLE = false # 百度统计 -VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab +VUE_APP_BAIDU_CODE =