功能修订

This commit is contained in:
chenxing
2026-09-08 20:22:52 +08:00
parent e755eb3aa2
commit 23750b4fde
11 changed files with 68 additions and 59 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ export default defineConfig(({ command, mode }: ConfigEnv): UserConfig => {
// dev 正式模式:serviceHost 为空(同源相对路径 /api/...),经此代理转发到本地后端
// (后端 CAS 过滤器对 /api/* 不回 CORS 头,浏览器直连 8070 会被拦,必须同源代理)
"/api": {
target: "http://localhost:8070",
target: "http://localhost:8101",
changeOrigin: true,
},
},