From 63b7be409a41fa1464234245f0e58c11ae3c8538 Mon Sep 17 00:00:00 2001 From: liupopo Date: Fri, 9 Jun 2023 19:10:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- src/views/zhiwujiance/zhiwujianceList.vue | 3 ++- vue.config.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.env.production b/.env.production index c4d0fd7..eef7d99 100644 --- a/.env.production +++ b/.env.production @@ -2,7 +2,7 @@ ENV = 'production' # base api -VUE_APP_BASE_API = '/api' +VUE_APP_BASE_API = '/monitorapi' ## 配置 正式接口地址 VUE_APP_URL = "http://120.46.131.15:8111" diff --git a/src/views/zhiwujiance/zhiwujianceList.vue b/src/views/zhiwujiance/zhiwujianceList.vue index 5cba8d7..e1cb030 100644 --- a/src/views/zhiwujiance/zhiwujianceList.vue +++ b/src/views/zhiwujiance/zhiwujianceList.vue @@ -182,7 +182,8 @@ export default { data() { return { // imgUrl: 'http://huirong.ybkjyl.com/1.png', - fileUrl: 'http://huirong.ybkjyl.com/imagesDownload/', + // fileUrl: 'http://huirong.ybkjyl.com/imagesDownload/', + fileUrl: 'http://8.130.39.13:7003/upload/monitor/', wanhao_Chart: wanhao_Chart, // 1.1 weixiu_Chart: weixiu_Chart, sunhai_Chart: sunhai_Chart, diff --git a/vue.config.js b/vue.config.js index 2cb6d66..35f96af 100644 --- a/vue.config.js +++ b/vue.config.js @@ -24,7 +24,7 @@ module.exports = { *在大多数情况下,请使用“/”!!! *详细信息:https://cli.vuejs.org/config/#publicpath */ - publicPath: process.env.NODE_ENV === 'production' ? '/' : '/', + publicPath: process.env.NODE_ENV === 'production' ? '/monitor/' : '/', outputDir: 'monitor-ui', assetsDir: 'static', lintOnSave: process.env.NODE_ENV === 'development',