From 84d5f2ddb619b227a6f8b2e331326bc824dd68d5 Mon Sep 17 00:00:00 2001 From: WXL <wl_5969728@163.com> Date: 星期日, 28 九月 2025 10:13:20 +0800 Subject: [PATCH] 档案和附件相关 --- vue.config.js | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/vue.config.js b/vue.config.js index ee3dea1..d185d3b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -32,15 +32,23 @@ open: true, proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy - [process.env.VUE_APP_BASE_API]: { - target:`http://localhost:8080`, - //target:`http://116.62.18.175:8080`, - // target:`http://192.168.1.4:8080`, - //target: `https://slb.hospitalstar.com:9093`, + [process.env.VUE_APP_BASE_API]: { + // 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]: '' } + }, + //褰損df鍜屾暟鎹帴鍙d笉鍦ㄥ悓涓�涓姹傚湴鍧�涓嬫椂,涓簆df棰勮杩藉姞涓�涓唬鐞� + '/pdf': { + target: 'http://192.168.1.4/pdf/data', + changOrigin: true, + pathRewrite: { + '^/pdf': '' + } } }, disableHostCheck: true -- Gitblit v1.9.3