1、新增复评权限判断

This commit is contained in:
2026-08-07 13:15:38 +08:00
parent 52d4b6b486
commit f550b55341
2 changed files with 11 additions and 5 deletions

View File

@@ -62,11 +62,11 @@ export default ({
server: {
port: 2888,
proxy: {
// 开发期同源代理:浏览器请求 /api/xxx -> 由 Vite 转发到 http://172.16.203.228:8000/api/xxx
// 必须保留 /api 前缀(不要 rewrite 去掉),与 openresty/nginx 期望的路径一致,从而规避跨域(CORS)问题
'/api': {
target: 'http://172.16.203.228:8000',
target: 'http://localhost',
//target: 'https://saber3.bladex.cn/api',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},
},
},