chore: 将已合并的商务工作台同步回主工作区

This commit is contained in:
Yvan
2026-11-05 10:57:06 +08:00
parent ee20692e95
commit 297a892518
10 changed files with 1304 additions and 121 deletions
+3 -5
View File
@@ -119,11 +119,9 @@ export default ({ mode }) => {
// 把key的路径代理到target位置
// detail: https://cli.vuejs.org/config/#devserver-proxy
[env.VITE_BASE_API]: {
// 需要代理的路径 例如 '/api'
target: `${env.VITE_BASE_PATH}:${env.VITE_SERVER_PORT}/`, // 代理到 目标路径
changeOrigin: true,
rewrite: (path) =>
path.replace(new RegExp('^' + env.VITE_BASE_API), '')
// 线上接口形如 http://sw2.fuhua91.com/api/sw/promote/list,保留 /api,不追加 8000 端口
target: env.VITE_BASE_PATH,
changeOrigin: true
}
}
},