From c96768b88d575454ee06d7f4720cfbd52e7c19e0 Mon Sep 17 00:00:00 2001 From: WXL <wl_5969728@163.com> Date: 星期六, 11 十月 2025 13:37:44 +0800 Subject: [PATCH] 捐献案例维护 --- vue.config.js | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/vue.config.js b/vue.config.js index cd9a916..1bbfef2 100644 --- a/vue.config.js +++ b/vue.config.js @@ -33,12 +33,21 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - //target: `http://192.168.2.3:8080`, - //target: `https://slb.hospitalstar.com:9093`, - target:`http://www.hxsoft.com:8085`, + target:`http://localhost:8080`, + // target:`http://192.168.100.10:8080`, + // target:`http://192.168.1.4:8086`, + // target: `https://slb.hospitalstar.com:9093`, changeOrigin: true, pathRewrite: { - ['^' + process.env.VUE_APP_BASE_API]: 'ruoyi-admin/prod-api' + ['^' + process.env.VUE_APP_BASE_API]: '' + } + }, + //褰損df鍜屾暟鎹帴鍙d笉鍦ㄥ悓涓�涓姹傚湴鍧�涓嬫椂,涓簆df棰勮杩藉姞涓�涓唬鐞� + '/pdf': { + target: 'http://192.168.1.4/pdf/data', + changOrigin: true, + pathRewrite: { + '^/pdf': '' } } }, -- Gitblit v1.9.3