From b1c3b9a3a545a6ed639f25ff093751193be422ea Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期三, 12 八月 2026 17:09:00 +0800
Subject: [PATCH] 上传到分支
---
vue.config.js | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index cd9a916..8f72f61 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -33,14 +33,23 @@
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:8081`,
+ // target:`http://192.168.100.137:8080`,
+ // 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': ''
+ // }
+ // }
},
disableHostCheck: true
},
--
Gitblit v1.9.3