From b756a06d2736a563b4a82328b383a91170162016 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期三, 12 八月 2026 09:33:52 +0800
Subject: [PATCH] yxh20260812
---
vue.config.js | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 10254cf..d5c694b 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -34,14 +34,22 @@
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target:`http://localhost:8080`,
- // target:`http://192.168.2.8:8080`,
- // target:`http://116.62.18.175:8080`,
- // target:`https://slb.hospitalstar.com:9093`,
+ // target:`http://192.168.100.10:8081`,
+ // target:`http://192.168.100.137:8080`,
+ // 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